* {padding: 0; margin: 0;}
html, body {height: 100%;}
body {font-family: Tahoma, Arial, Helvetica, "Microsoft YaHei New", "Microsoft Yahei", SimSun, STXihei, sans-serif; font-size: 18px; position: relative;}
.wrapper img.banner {width: 100%; height: auto;}
.wrapper img.banner.mini {max-width: 440px; width: 100%; height: auto;}
.wrapper {width: 600px; background: #B7E0D5;}
h4 {line-height: 1.5; margin-bottom: 2%;}
p {margin-bottom: 1%;}
ul li {margin-left: 24px;}
.add-padding-sides {padding-left: 32px; padding-right: 32px;}
.remove-padding-top {padding-top: 0px;}
.yes-overflow {overflow: visible;}
.wrapper a, .wrapper a:hover, .wrapper a:active {color: #E36544;}
button:focus, input:focus { outline: none; }
input, button {font-family: 'Noto Sans SC', sans-serif;}

/* Table Border */
.border-top-left {-webkit-border-top-left-radius: 8px;
-moz-border-radius-topleft: 8px;
border-top-left-radius: 8px;}
.border-top-right {-webkit-border-top-right-radius: 8px;
-moz-border-radius-topright: 8px;
border-top-right-radius: 8px;}
.border-bottom-left {-webkit-border-bottom-left-radius: 8px;
-moz-border-radius-bottomleft: 8px;
border-bottom-left-radius: 8px;}
.border-bottom-right {-webkit-border-bottom-right-radius: 8px;
-moz-border-radius-bottomright: 8px;
border-bottom-right-radius: 8px;}

/* Gaps */
.gap__4 {padding: 4px 0 0;}
.gap__8 {padding: 8px 0 0;}
.gap__16 {padding: 16px 0 0;}
.gap__24 {padding: 24px 0 0;}
.gap__32 {padding: 32px 0 0;}

/* Page HD */
.page-hd__8 {padding: 8px;}
.page-hd__16 {padding: 16px;}
.page-hd__24 {padding: 24px;}
.page-hd__32 {padding: 32px;}

/* Fonts Style */
.f-brandy {color: #7E3F3B;}
.f-deep-carmine-pink {color: #EF383E;}
.f-ebony {color: #5E5E5E;}
.f-body {color: rgba(51,51,51,0.95); font-size: 0.95em;}
.f-dark-slate-blue {color: #483B8C;}
.f-night-rider {color: #333333;}

/* Drop Shadow */
.shadow {
    -webkit-text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    -moz-text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Box Shadow */
.box-shadow {-webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.24); -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.24); box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.24);}

/* iOS Safari Overwrite */
input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}

/* No Padding */
.page-bd-24 {padding: 24px;}
.page-bd-top {padding-top: 0!important;}
.page-bd-bottom {padding-bottom: 0!important;}
.page-bd-left {padding-left: 0!important;}
.page-bd-right {padding-right: 0!important;}

/* Responsive Images */
.resp-100 {width: 100%; height: auto;}
.resp-90 {width: 90%; height: auto;}
.resp-80 {width: 80%; height: auto; max-width: 350px;}

/* Flex Two */
.weui-flex__item.two {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    flex: 2;
    margin-left: 16px;
}
.weui-flex__item.right-padding {box-sizing: border-box; padding-right: 16px;}
.weui-flex__item.right-padding-8 {box-sizing: border-box; padding-right: 8px;}

hr {
    padding: 0;
    margin: 0;
    border: none;
    width: 100%;
    border-bottom: 1px dashed #FCC360;
}

/* Template */
body {background-color: #000028;}
.pinwheel.wrapper {background: url("../images/turntable-main-bg.png") no-repeat top center #0D1754; background-size: 100% auto; min-height: 100%; position: relative;}

/* Zp Box */
.zp-box{width: 100%;height: auto;position: relative;}
.dp-box{width: 90%;height: auto;margin: 0 auto;margin-top: 40px;position:relative;}
.dp-box::after {
    content: '';
    width: 105%;
    height: 105%;
    left: -2.5%;
    top: -3.2%;
    position: absolute;
    background: url(../images/turntable-cat-bg.png) no-repeat center center;
    display: block;
    background-size: 100% auto;
    z-index: 0;
}
.dp-box.second::after {background-image: url(../images/turntable-cat-bg3.png);}
.dp-box.third::after {background-image: url(../images/turntable-cat-bg4.png);}
.dp-box>img,.zhizhen>img{width: 100%; position: relative; z-index: 1;}
.zhizhen{
    width: 30%;
    height: auto;
    position: absolute;
    top: 140px;
    left: 35%;
    cursor: pointer;
}
#cishu-text {
    color: #d32833;
    text-align: center;
    position: absolute;
    top: 78px;
    width: 100%;
    left: auto;
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: bold;
    z-index: 2;
}
.cjfx, .zpgz, .zj, .wcs, .today, .jl-tk {
    width: 337px;
    height: auto;
    position: fixed;
    top: 34%;
    left: calc(50% - (337px/2));
    z-index: 3;
}
.texts {
    position: absolute;
    top: 44px;
    left: 10%;
    text-align: center;
    width: 80%;
    font-size: 1.1em;
    color: #FFF;
    font-weight: bold;
}
a.ok-img {
    position: absolute;
    top: 184px;
    left: 30%;
    padding: 8px 24px;
    box-sizing: border-box;
    text-align: center;
    width: 40%;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: rgb(255,110,167);
    background: -moz-linear-gradient(132deg, rgba(255,110,167,1) 0%, rgba(222,50,81,1) 100%);
    background: -webkit-linear-gradient(132deg, rgba(255,110,167,1) 0%, rgba(222,50,81,1) 100%);
    background: linear-gradient(132deg, rgba(255,110,167,1) 0%, rgba(222,50,81,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff6ea7",endColorstr="#de3251",GradientType=1);
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}
a.ok-img:active, a.ok-img:hover {color: #FFF;}
.wcs-img, .tz-img, .zj-img {
    width: 100%; height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/* Navbar */
.pinwheel .pinwheel-navbar {width: 100%; height: 54px;}
.pinwheel .pinwheel-navbar ul.switch, .pinwheel .pinwheel-navbar ul.switch li {padding: 0; margin: 0; list-style: none;}
.pinwheel .pinwheel-navbar ul.switch li {position: relative; top: 8px; left: 16px; margin-right: 8px;}
.pinwheel .pinwheel-navbar ul.switch li a {display: inline-block; width: auto; height: 38px; line-height: 38px; background: rgba(13, 23, 84, 0.4); padding: 0 20px; -webkit-border-radius: 40px; -moz-border-radius: 40px; border-radius: 40px; font-size: 0.875em; color: #FFF; box-sizing: border-box; border: 1px solid #FFF;}
.pinwheel .pinwheel-navbar a.question, .pinwheel .pinwheel-navbar a.question img {width: 34px; height: 34px;}
.pinwheel .pinwheel-navbar a.question {position: relative; right: 16px; top: 10px;}
.pinwheel .pinwheel-navbar ul.switch li:first-child a.active {
    background: rgb(172,113,209);
    background: -moz-linear-gradient(114deg, rgba(172,113,209,1) 0%, rgba(0,86,252,1) 100%);
    background: -webkit-linear-gradient(114deg, rgba(172,113,209,1) 0%, rgba(0,86,252,1) 100%);
    background: linear-gradient(114deg, rgba(172,113,209,1) 0%, rgba(0,86,252,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ac71d1",endColorstr="#0056fc",GradientType=1);
    font-weight: bold;
    border: none;
}
.pinwheel .pinwheel-navbar ul.switch li:nth-child(2) a.active {
    background: rgb(230,132,201);
    background: -moz-linear-gradient(132deg, rgba(230,132,201,1) 0%, rgba(168,32,250,1) 100%);
    background: -webkit-linear-gradient(132deg, rgba(230,132,201,1) 0%, rgba(168,32,250,1) 100%);
    background: linear-gradient(132deg, rgba(230,132,201,1) 0%, rgba(168,32,250,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e684c9",endColorstr="#a820fa",GradientType=1);
    font-weight: bold;
    border: none;
}

.pinwheel .pinwheel-navbar ul.switch li:nth-child(3) a.active {
    background: rgb(250,178,148);
    background: -moz-linear-gradient(132deg, rgba(250,178,148,1) 0%, rgba(220,77,77,1) 100%);
    background: -webkit-linear-gradient(132deg, rgba(250,178,148,1) 0%, rgba(220,77,77,1) 100%);
    background: linear-gradient(132deg, rgba(250,178,148,1) 0%, rgba(220,77,77,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fab294",endColorstr="#dc4d4d",GradientType=1);
    font-weight: bold;
    border: none;
}



/* Announcement Bar */
.pinwheel .announcement-bar {height: auto; width: 70%; background: #000; background: rgba(4, 11, 50, 0.7); border: 1px solid #5468CF; -webkit-border-radius: 100px; moz-border-radius: 100px; border-radius: 100px; margin: 0 auto; padding: 6px 8px 6px 16px;}
.pinwheel .announcement-bar, .pinwheel .announcement-bar p {font-size: 0.95em; line-height: 1.4;}
.pinwheel .announcement-bar p.add-icon {padding-left: 32px; background: url(../images/pinwheel-speech.svg) no-repeat center left; background-size: 24px auto; margin-bottom: 0;}
.pinwheel .announcement-bar .two {margin-left: 0;}
.pinwheel .announcement-bar a.btn {
    display: inline-block;
    padding: 4px 26px 4px 20px;
    color: #FFF;
    font-size: 0.95em;
    background: rgb(85,104,208);
    background: -moz-linear-gradient(180deg, rgba(85,104,208,1) 0%, rgba(61,80,180,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(85,104,208,1) 0%, rgba(61,80,180,1) 100%);
    background: linear-gradient(180deg, rgba(85,104,208,1) 0%, rgba(61,80,180,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5568d0",endColorstr="#3d50b4",GradientType=1);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
}
.pinwheel .announcement-bar a.btn::after {
    content: '';
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    background: url(../images/iconChatArrowRightLarge.svg) no-repeat center center;
    background-size: 10px auto;
    top: 2px;
    right: 4px;
}
.pinwheel .announcement-bar a.btn:active {position: relative; top: 1px; opacity: 0.8;}
.pinwheel .announcement-bar span, .pinwheel .my span {color: #EBC32B;}

/* Pinwheel Btn */
.pinwheel .pinwheel-btn a.btn {color: #FFF; position: relative; display: block; width: 100%; height: 130px; line-height: 120px; background: url("../images/pinwheel-purple-btn.png") no-repeat center center; background-size: contain; -webkit-text-shadow: 1px 2px 3px rgba(0,0,0,0.4); -moztext-shadow: 1px 2px 3px rgba(0,0,0,0.4); text-shadow: 1px 2px 3px rgba(0,0,0,0.4);}
.pinwheel .pinwheel-btn a.btn.peach {background-image: url("../images/pinwheel-peach-btn.png")}
.pinwheel .pinwheel-btn a.btn.pink {background-image: url("../images/pinwheel-pink-btn.png")}
.pinwheel .pinwheel-btn a.btn span.coin {background: url("../images/iconLiveCoinMedium.png") no-repeat center center; background-size: 100% auto; display: inline-block; width: 20px; height: 20px; position: relative; top: 2px;}
.pinwheel .pinwheel-btn a.btn:active {position: relative; top: 2px; opacity: 0.8;}
.pinwheel .pinwheel-btn a.btn:active span.coin {top: 3px;}

/* Scroll Button */
#scroll {
    position: fixed;
    z-index: 9999;
    width: 80px;
    height: 80px;
    background: #53933F;
    color: #FFF;
    font-size: 1em;
    text-align: center;
    right: 0;
    bottom: 32px;
    top:auto;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-weight: 500;
    opacity: 0.9;
    display: block;
    cursor: pointer;
    line-height: 24px;
}
#scroll:hover, #scroll:active {opacity: 1;}
#scroll:active {background-color: #347C1F;}
#scroll span {position: relative; top: 15px;}

/* Rules */
a#rules {position: fixed; z-index: 9999; right: 0; top: 50px;}
a#rules img {width: 82px; height: 44px;}

.pinwheel .weui-media-box__desc {text-overflow: inherit; overflow: visible;}

/* Activatables */
ul.act-tabs, ul.act-tabs li {padding: 0; margin: 0; list-style: none;}
ul.act-tabs li {float: left;}
ul.act-tabs li a {display: inline-block; padding: 4px 8px; color: #FFF; font-weight: bold;}
ul.act-tabs li a:hover {color: #FFF;} 
ul.act-tabs li a:active {color: #BCA0FF;}
ul.act-tabs li a.active {color: #BCA0FF; cursor: default; }
div.section div.inactive {display: none;}
div.section {box-sizing: border-box; color: #FFF; padding: 16px 0 0;}
ul.act-tabs li .line {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.4);
    display: block;
    position: relative;
    top: 10px;
    margin: 0 8px;
}

/* Purple Container */
.pinwheel .purple-container {
    background: rgba(0,0,0,0.24);
    box-sizing: border-box;
    border: 2px solid #8566CF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    width: 85%;
    margin: 0 auto;
}

/* Main Panel */
.pinwheel .main-panel {
    background: url(../images/turntable-table-bg.png) no-repeat top center;
    background-size: 90% auto;
    background-position: center 32px;
    min-height: 600px;
}
.pinwheel .purple-container p {color: #FFF;}
.pinwheel .purple-container p.name {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pinwheel .purple-container p.title {color: #FFE98A;}
.pinwheel .purple-container p.reward {position: relative; padding-left: 38px;}
.pinwheel .purple-container p.reward img {width: 30px; height: 30px; position: absolute; top: -3px; left: 0;}

/* Back */
.pinwheel .back {width: 44px; height: 44px; position: absolute; top: 56px; left: 56px;}
.pinwheel .back:active {margin-top:2px;}
.pinwheel .back img {width: 44px; height: 44px;}

/* English Adjustments */
:lang(en-us) #cishu-text {letter-spacing: -1px;}
:lang(en-us) .pinwheel .pinwheel-navbar ul.switch li a {padding: 0 16px;}

/* Popup */
.won {
    position: fixed;
    z-index: 9999;
    background: url("../images/pinwheel-won-bg-pattern.png") no-repeat top left #5763E7;
    background-size: cover;
    left: calc(50% - (320px/2));
    width: 320px;
    box-sizing: border-box;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding: 40px 16px 16px;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    border-radius: 14px;
    border: 2px solid #C09EDD;
}
.won .top-banner {width:300px; height: auto; position: absolute; top: -100px; left: calc(50% - 150px);}
.won, .won p {color: #FFF; text-align: center; font-size: 0.95em;}
.won .weui-flex p {width: 70px!important;}
.won .weui-flex p, .won p {line-height: 1.4;}
.won p.gift img {width: 40px; height: 40px; position: relative; z-index: 2;}
.won p.gift {width: 44px!important; margin: 0 auto; position: relative;}
.won p.gift::after {content:''; width: 44px; height: 44px; background: rgba(0,0,0,0.34); position: absolute; display: block; top: -2px; left: 0; z-index: 1; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-radius: 50px;}
a.close img {width: 44px; height: 44px;}
a.close {
    position: absolute;
    z-index: 999;
    width: 44px;
    height: 44px;
    display: block;
    left: calc(50% - 22px);
    bottom: -60px;
}
.overlay {width: 100vw; height: 100vh; background: rgba(0,0,0,0.4); display: block; position: fixed; left: 0; top: 0; z-index: 40;}

/* Rules */
.pinwheel a.rules {position: fixed; top: 137px; right: 0; z-index: 999;}
.pinwheel a.rules img {width: 80px; height: auto;}
.pinwheel a.rules:active {top: 139px; opacity: 0.8;}
	
@media all and (max-width: 600px) {
	body {background-color: #19202A; font-size: 16px;}
    .pinwheel.wrapper {width: 100%; overflow: hidden;}
    .pinwheel .pinwheel-navbar {height: 44px;}
    .pinwheel .pinwheel-navbar ul.switch li a {height: 30px; line-height: 30px; font-size: 0.75em;}
    .pinwheel .pinwheel-navbar a.question, .pinwheel .pinwheel-navbar a.question img {width: 24px; height: 24px;}
    .pinwheel .announcement-bar {width: 84%; padding: 3px 4px 3px 12px;}
    .page-hd__24 {padding: 16px;}
    .dp-box {margin-top: 4vh;}
    .zhizhen {top: 5.625em;}
    #cishu-text {top: 37%; font-size: 0.9em;}
    .gap__32 {padding: 24px 0 0;}
    .gap__24 {padding: 16px 0 0;}
    .gap__16 {padding: 8px 0 0;}
    .gap__8 {padding: 4px 0 0;}
    .gap__4 {padding: 2px 0 0;}
    .pinwheel .pinwheel-btn a.btn {height: 100px; line-height: 90px; font-size: 0.9em;}
    .cjfx, .zpgz, .zj, .wcs, .today, .jl-tk {
        width: 300px;
        height: auto;
        position: fixed;
        top: 34%;
        left: calc(50% - (300px/2));
        z-index: 3;
    }
    a.ok-img {top: 161px;}
    .pinwheel .pinwheel-btn a.btn span.coin {width: 18px; height: 18px; top: 3px;}
    .pinwheel .back {
        width: 34px;
        height: 34px;
        position: absolute;
        top: 46px;
        left: 34px;
    }
    .pinwheel .purple-container {width: 94%;}
    .page-hd__32.page-bd-top.rules {
        padding: 24px;
        font-size: 0.95em;
    }
    .banner {width: 300px;}
    .bg {width: 300px; top: 106px;}
    .prize p.icon, .prize p.icon img, .prize p.icon::after {width: 54px; height: 54px;}
    .lottery {width: 260px; left: calc(50% - 130px); top: 160px;}
    .msg {width: 252px; top: 283px;}
    :lang(en-us).pinwheel .pinwheel-btn a.btn {
    height: 100px;
    line-height: 90px;
    font-size: 0.8em;
    }
    .pinwheel a.rules img {width: 61px; height: auto;}
}

@media all and (max-width: 320px) {
    body{font-size: 15px;}
    .zhizhen {top: 5em;}
    #cishu-text {top: 38%; font-size: 0.8em;}
    .won {width: 280px; left: calc(50% - (280px/2)); padding: 30px 8px 8px;}
    .won .weui-flex p {width: 64px!important;}
    a.close img {width: 34px; height: 34px;}
    .won, .won p {font-size: 0.92em;}
    .won .top-banner {width: 260px; top: -88px; left: calc(50% - 130px);}
    .won p.gift {width: 44px!important;}
}
/* iPhone 8, etc */
@media only screen and (device-width : 375px) and (device-height : 667px) and (-webkit-device-pixel-ratio : 2) {}
/* iPhone 8+, etc */
@media only screen and (device-width : 414px) and (device-height : 736px) and (-webkit-device-pixel-ratio : 3) {
    #cishu-text {top: 39%; font-size: 0.9em;}
    .zhizhen {top: 6.2em;}
}
/* iPhone X, etc */	
@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3){
    #cishu-text {top: 46px; font-size: 0.9em;}
    .zhizhen {top: 92px;}
}