/* 基礎設定 */

* {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* 背景設定 */

html,
body {
    width: 100%;
    height: auto;
    font-size: 16px;
    line-height: 16px;
    font-family: "Century Gothic", "Helvetica Neue", "Open Sans", "Heiti TC", "Microsoft JhengHei", 'Microsoft JhengHei UI Regular', '微軟正黑體 Light', '微軟正黑體', sans-serif;
    color: #333;
    background-image: url("../assets/bg.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #000;
}


/* 最外層設定 */

.rwd_outer {
    width: 1000px;
    margin: 0 auto;
}

.rwd_outer img {
    display: block;
    width: 100%;
    height: auto;
}


/* 各區外層設定 */

.rwd_outer .title_outer,
.rwd_outer .game_outer,
.rwd_outer .social_outer,
.rwd_outer .info1_outer,
.rwd_outer .info2_outer,
.rwd_outer .info3_outer,
.rwd_outer .banner_outer {
    position: relative;
    width: 100%;
    text-align: center;
}


/* 主標設定 */

.rwd_outer .title_outer>div {
    display: block;
}

.rwd_outer .title_outer>div.mobile {
    display: none;
}


/* 遊戲區設定 */

.rwd_outer .game_outer {
    position: relative;
}

.game_outer .game_box {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-image: url("../assets/prize_bg.png");
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
    margin: 0 auto;
}

.game_outer .game_content {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    position: absolute;
}
.game_outer .game_content canvas{
    position: absolute;
    overflow: hidden;
    top: 11%;
    left: 51%;
    transform: translateX(-50%);
    z-index: 5;
}

.game_outer .game_content .topBox{
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    /* outline: 1px solid red; */
    background-image: url("../assets/prize_topbg.png");
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    /* opacity: .5; */

}
.game_outer .game_content .ball1, .game_outer .game_content .ball2, .game_outer .game_content .ball3, .game_outer .game_content .ball4, .game_outer .game_content .ball5{
    width: auto;
    display: inline-block;
}
.game_outer .game_content .ball6, .game_outer .game_content .ball7, .game_outer .game_content .ball8{
    width: auto;
    display: inline-block;
}

.game_outer .game_content .ballfalling {
    width: 141px;
    height: 141px;
    display: block;
    position: absolute;
    z-index: 3;
    top: 27%;
    left: 12%;
}

.game_outer .game_content .ballfalling img{
    width: auto;
    max-width: 141px;
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    transform: scale(0.5);
}
.game_outer .game_btn {
    width: 29%;
    height: 30%;
    padding-bottom: 0;
    position: absolute;
    z-index: 10;
    left: 55%;
    top: 70%;
    /* cursor: pointer; */
    overflow: hidden;
}

.ballmoving{
    width: 170px;
    height: 170px;
    position: fixed;
    z-index: 1001;
    bottom: 0;
    left: 0;
    top: auto;
    right: auto;
    margin: auto;
}
.ballmoving .ballgift{
    width: 170px;
    height: 170px;
    padding-bottom: 0;
}

@keyframes turn {
    from {
        transform: scaleZ(0deg);
    }
    to {
        transform: scaleZ(180deg);
    }
}

/* 獎項彈跳視窗區設定 */
.rwd_outer .prize_outer {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	z-index: 999;
    display: none;
}

.rwd_outer .prize_outer ul {
	position: absolute;
	width: 500px;
	height: 284px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	text-align: center;
	list-style: none;
}

.rwd_outer .prize_outer ul li {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url("../assets/prize_win.png");
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rwd_outer .prize_outer ul li .p_inner {
	width: calc(100% - 30px);
	display: inline-block;
	vertical-align: middle;
	font-weight: normal;
	color: #333;
}

.rwd_outer .prize_outer .congrate {
	font-size: 16px;
}

/* 獎項名稱 */
.rwd_outer .prize_outer.prize_num .gift_title,
.rwd_outer .prize_outer.prize_none .gift_title,
.rwd_outer .prize_outer.prize_link .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .gift_title {
	display: block;
	font-size: 20px;
	font-weight: normal;
	margin-top: 4px;
	line-height: 1;
}

.rwd_outer .prize_outer.prize_point .receive_remind {
	display: block;
	font-size: 14px;
	color:#666666;
	font-weight: normal;
	margin-top: 4px;
	margin-bottom: 12px;
	line-height: 1;
}

.rwd_outer .prize_outer .gift_code {
    font-size: 14px;
    min-height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    border-color: #d8d8d8;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    background-color: #ffffff;
    margin-right: 8px;
}

.rwd_outer .prize_outer .code_row {
	display: inline-flex;
	justify-content: center;
	align-items: stretch;
}

.rwd_outer .prize_outer .copybtn {
    font-size: 14px;
    min-width: 62px;
	max-width: calc(100% - 125px - 30px - 8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 37px;
    background-color: #FF5353;
    border-radius: 5px;
    color: #FFFFFF;
    text-decoration: none;
	padding: 5px 10px;
	word-break: break-all;
}

/* 序號式的連結按鈕*/
.rwd_outer .prize_outer.prize_num .gift_link {
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ff5353;
    text-decoration: none;
    background-color: #ffffff;
	max-width: calc(100% - 30px);
	word-break: break-all;
	padding: 5px 10px;
}

/* 連結式的連結按鈕*/
.rwd_outer .prize_outer.prize_link .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 銘謝惠顧的連結按鈕*/
.rwd_outer .prize_outer.prize_none .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* 紅利點數的連結按鈕*/
.rwd_outer .prize_outer.prize_point .gift_link {
    font-size: 16px;
    margin-bottom: 8px;
    min-width: 192px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .left_count {
	font-size: 14px;
}

.rwd_outer .prize_outer .back_to_game {
	font-size: 14px;
	color:#0279FF
}

/* 遊戲次數已滿 */
.rwd_outer .prize_outer .today_played {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
}

.rwd_outer .prize_outer .today_played div:first-child {
	margin-bottom: 4px;
}

.rwd_outer .prize_outer .today_played div:last-child {
	color:#666666
}

.rwd_outer .prize_outer .MoreDiscount {
    font-size: 16px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

.rwd_outer .prize_outer .not_allow_reason {
	font-size: 20px;
	font-weight: normal;
	line-height: 1;
    display:block;
}

.rwd_outer .prize_outer .not_allow_suggest {
    font-size: 16px;
    min-width: 192px;
	margin-top: 12px;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    display: inline-flex;
    min-height: 39px;
    justify-content: center;
    align-items: center;
    border-color: #ff5353;
    color: #ffffff;
    text-decoration: none;
    background-color: #ff5353;
    max-width: calc(100% - 30px);
    word-break: break-all;
    padding: 5px 10px;
}

/* Popup Close Button */
.rwd_outer .prize_outer ul li .close {
	display: block;
	position: absolute;
	width: 5%;
	height: auto;
	top: 0;
	right: 0;
	transform: translate(50%,-50%);
}

/* social media區、banner區、APP下載區 共同設定 */

.rwd_outer .social_outer:after,
.rwd_outer .app_outer:after,
.rwd_outer .banner_outer:after {
    content: "";
    display: block;
    height: 0%;
    clear: both;
}


/* social media區、banner區、APP下載區 共同設定 */

.rwd_outer .social_outer:after,
.rwd_outer .app_outer:after,
.rwd_outer .banner_outer:after {
    content: "";
    display: block;
    height: 0%;
    clear: both;
}


/* social media區 設定 */

.rwd_outer .social_outer,
.rwd_outer .app_outer {
    padding: 1.5% 0% 1.5%;
}

.rwd_outer .social_outer>div,
.rwd_outer .app_outer>div {
    width: 49.25%;
}

.rwd_outer .social_outer>div:nth-child(1),
.rwd_outer .app_outer>div:nth-child(1) {
    float: left;
}

.rwd_outer .social_outer>div:nth-child(2),
.rwd_outer .app_outer>div:nth-child(2) {
    float: right;
}


/* 遊戲說明文_圖片區設定 */

.rwd_outer .info1_outer {
    margin-bottom: 1.5%;
}


/* 戲說明文區_文字區、獎項說明文區 設定 */

.rwd_outer .info2_outer,
.rwd_outer .info3_outer {
    background-color: #fff;
    padding: 3%;
    text-align: left;
    font-size: 120%;
    line-height: 180%;
    margin-bottom: 1.5%;
}

.rwd_outer .info2_outer,
.rwd_outer .info3_outer,
.rwd_outer .banner_outer div {
    overflow: hidden;
    border-radius: .5em;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    -ms-border-radius: .5em;
    -o-border-radius: .5em;
}

.rwd_outer .info2_outer ul,
.rwd_outer .info3_outer ul {
    width: 100%;
    margin-left: 3%;
    list-style-type: decimal;
}


/* banner區 設定 */

.rwd_outer .banner_outer>div {
    display: block;
    float: left;
}

.rwd_outer .banner_outer>div:nth-child(n+2) {
    width: 49.25%;
    margin-top: 1.5%;
}

.rwd_outer .banner_outer>div:nth-child(3) {
    margin-left: 1.5%;
}

.copyouter {
    width: 200px;
    height: 100px;
    background: white;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, .2);
    text-align: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    font-size: 120%;
    z-index: 999999;
    display: none;
}

.copyouter:before {
    content: '';
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
}

.copyouter .copynow {
    width: 90%;
    display: inline-block;
    vertical-align: middle;
}


/* 遊戲動態 */

.game01 {
    animation: game01 3s 0s both ease-out 1;
}

.game02 {
    animation: game02 3s 0s both ease-out 1;
}

.game03 {
    animation: game03 3s 0s both ease-out 1;
}

.game04 {
    animation: game04 3s 0s both ease-out 1;
}

.game05 {
    animation: game05 3s 0s both ease-out 1;
}

.game06 {
    animation: game06 3s 0s both ease-out 1;
}

.game07 {
    animation: game07 3s 0s both ease-out 1;
}

.game08 {
    animation: game08 3s 0s both ease-out 1;
}

@keyframes game01 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1800deg);
    }
}

@keyframes game02 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1755deg);
    }
}

@keyframes game03 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1710deg);
    }
}

@keyframes game04 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1665deg);
    }
}

@keyframes game05 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1620deg);
    }
}

@keyframes game06 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1575deg);
    }
}

@keyframes game07 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1530deg);
    }
}

@keyframes game08 {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(1485deg);
    }
}

.gameshine {
    animation: gameshine .2s 3s both linear infinite;
}

@keyframes gameshine {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*手持裝置設定*/

@media screen and (max-width: 640px) {
    /* 基礎設定 */
    * {
        margin: 0;
        padding: 0;
        -webkit-text-size-adjust: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    /* 背景設定 */
    html,
    body {
        width: 100%;
        height: auto;
        font-size: 16px;
        line-height: 16px;
        font-family: "Century Gothic", "Helvetica Neue", "Open Sans", "Heiti TC", "Microsoft JhengHei", 'Microsoft JhengHei UI Regular', '微軟正黑體 Light', '微軟正黑體', sans-serif;
        color: #333;
        background-image: url("../assets/bg_mobile.jpg");
        -webkit-background-size: cover;
        background-size: cover;
    }
    /* 最外層設定 */
    .rwd_outer {
        width: 100%;
        margin: 0 auto;
        padding: 3vw;
    }
    /* .game_outer .game_content {
        width: 77%;
    } */
    .rwd_outer img {
        display: block;
        width: 100%;
        height: auto;
    }
    /* 各區外層設定 */
    .rwd_outer .title_outer,
    /* .rwd_outer .game_outer, */
    .rwd_outer .social_outer,
    .rwd_outer .info1_outer,
    .rwd_outer .info2_outer,
    .rwd_outer .info3_outer,
    .rwd_outer .banner_outer {
        position: relative;
        width: 100%;
        text-align: center;
    }
    /* 主標設定 */
    .rwd_outer .title_outer>div {
        display: none;
    }
    .rwd_outer .title_outer>div.mobile {
        display: block;
    }
    /* 遊戲區設定 */
    /* .rwd_outer .game_outer {
        -webkit-background-size: cover;
        background-size: cover;
        padding: 2% 2%;
    } */
    /* .game_outer .game_btn {
        left: 90%;
    } */
    .rwd_outer .game_outer {
        -webkit-background-size: cover;
        background-size: cover;
        padding: 2% 2%;
    }

    .game_outer .game_content canvas{
        width: 48%;
        position: absolute;
        overflow: hidden;
        top: 11%;
        left: 51%;
        transform: translateX(-50%);
        z-index: 5;
    }
    .game_outer .game_btn {
        left: 53%;
        top: 67%;
    }
    .game_outer .game_content .topBox {
        width: 96%;
        height: 0;
        padding-bottom: 96%;
        top: 2%;
        left: 2%;
    }
    .game_outer .game_content .ballfalling {
        width: calc(141/640*100%);
        height: auto;
        padding-bottom: calc(141/640*100%);
        display: block;
        position: absolute;
        z-index: 3;
        top: 27%;
        left: 12%;
    }
    
    .game_outer .game_content .ballfalling img{
        width: 100%;
        max-width: 141px;
        position: absolute;
        z-index: 5;
        top: 0;
        left: 0;
        transform: scale(0.2);
    }


    /* social media區、banner區、APP下載區 共同設定 */
    .rwd_outer .social_outer:after,
    .rwd_outer .app_outer:after,
    .rwd_outer .banner_outer:after {
        content: "";
        display: block;
        height: 0%;
        clear: both;
    }
    /* social media區、banner區、APP下載區 共同設定 */
    .rwd_outer .social_outer:after,
    .rwd_outer .app_outer:after,
    .rwd_outer .banner_outer:after {
        content: "";
        display: block;
        height: 0%;
        clear: both;
    }
    /* social media區 設定 */
    .rwd_outer .social_outer,
    .rwd_outer .app_outer {
        padding: 1.5% 0%;
    }
    .rwd_outer .social_outer>div,
    .rwd_outer .app_outer>div {
        width: 49.25%;
    }
    .rwd_outer .social_outer>div:nth-child(1),
    .rwd_outer .app_outer>div:nth-child(1) {
        float: left;
    }
    .rwd_outer .social_outer>div:nth-child(2),
    .rwd_outer .app_outer>div:nth-child(2) {
        float: right;
    }
    /* 遊戲說明文_圖片區設定 */
    .rwd_outer .info1_outer {
        margin-bottom: 1.5%;
    }
    /* 戲說明文區_文字區、獎項說明文區 設定 */
    .rwd_outer .info2_outer,
    .rwd_outer .info3_outer {
        background-color: #fff;
        padding: 6%;
        text-align: left;
        font-size: 4vw;
        line-height: 180%;
        margin-bottom: 1.5%;
    }
    .rwd_outer .info2_outer ul,
    .rwd_outer .info3_outer ul {
        width: 100%;
        margin-left: 3%;
        list-style-type: decimal;
    }
    /* banner區 設定 */
    .rwd_outer .banner_outer>div {
        float: left;
    }
    .rwd_outer .banner_outer>div:nth-child(n+2) {
        width: 49.25%;
        margin-top: 1.5%;
    }
    .rwd_outer .banner_outer>div:nth-child(3) {
        margin-left: 1.5%;
    }

    /* 獎項彈跳視窗區設定 */
    .rwd_outer .prize_outer {
    	position: fixed;
    	width: 100%;
    	height: 100%;
    	top: 0;
    	left: 0;
    	background: rgba(0,0,0,.5);
    	z-index: 999;
        display: none;
    }

    .rwd_outer .prize_outer ul {
    	position: absolute;
    	width: 85vw;
    	height: 85vw;
    	top: 0;
    	right: 0;
    	bottom: 0;
    	left: 0;
    	margin: auto;
    	text-align: center;
    	list-style: none;
    }

    .rwd_outer .prize_outer ul li {
    	position: relative;
    	width: 100%;
    	height: 150%;
    	background-image: url("../assets/prize_win2.png");
    	-webkit-background-size: none;
    	background-size: none;
    	display: flex;
    	justify-content: center;
    	align-items: center;
    }

    .rwd_outer .prize_outer ul li .p_inner {
    	width: calc(100% - 30px);
    	display: inline-block;
    	vertical-align: middle;
    	font-weight: normal;
    	color: #333;
    }

    .rwd_outer .prize_outer .congrate {
    	font-size: 16px;
    }

    /* 獎項名稱 */
    .rwd_outer .prize_outer.prize_num .gift_title,
    .rwd_outer .prize_outer.prize_none .gift_title,
    .rwd_outer .prize_outer.prize_link .gift_title {
    	display: block;
    	font-size: 20px;
    	font-weight: normal;
    	margin-top: 4px;
    	margin-bottom: 12px;
    	line-height: 1;
    }

    .rwd_outer .prize_outer.prize_point .gift_title {
    	display: block;
    	font-size: 20px;
    	font-weight: normal;
    	margin-top: 4px;
    	line-height: 1;
    }

    .rwd_outer .prize_outer.prize_point .receive_remind {
    	display: block;
    	font-size: 14px;
    	color:#666666;
    	font-weight: normal;
    	margin-top: 4px;
    	margin-bottom: 12px;
    	line-height: 1;
    }

    .rwd_outer .prize_outer .gift_code {
        font-size: 14px;
        min-height: 37px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 125px;
        border-color: #d8d8d8;
        border-width: 1px;
        border-style: solid;
        border-radius: 5px;
        background-color: #ffffff;
        margin-right: 8px;
    }

    .rwd_outer .prize_outer .code_row {
    	display: inline-flex;
    	justify-content: center;
    	align-items: stretch;
    }

    .rwd_outer .prize_outer .copybtn {
        font-size: 14px;
        min-width: 62px;
    	max-width: calc(100% - 125px - 30px - 8px);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 37px;
        background-color: #FF5353;
        border-radius: 5px;
        color: #FFFFFF;
        text-decoration: none;
    	padding:5px  10px;
    	word-break: break-all;
    }

    /* 序號式的連結按鈕*/
    .rwd_outer .prize_outer.prize_num .gift_link {
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 8px;
        min-width: 192px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ff5353;
        text-decoration: none;
        background-color: #ffffff;
    	max-width: calc(100% - 30px);
    	word-break: break-all;
    	padding: 5px 10px;
    }

    /* 連結式的連結按鈕*/
    .rwd_outer .prize_outer.prize_link .gift_link {
        font-size: 14px;
        margin-bottom: 8px;
        min-width: 192px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ffffff;
        text-decoration: none;
        background-color: #ff5353;
        max-width: calc(100% - 30px);
        word-break: break-all;
        padding: 5px 10px;
    }

    /* 銘謝惠顧的連結按鈕*/
    .rwd_outer .prize_outer.prize_none .gift_link {
        font-size: 14px;
        margin-bottom: 8px;
        min-width: 192px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ffffff;
        text-decoration: none;
        background-color: #ff5353;
        max-width: calc(100% - 30px);
        word-break: break-all;
        padding: 5px 10px;
    }

    /* 紅利點數的連結按鈕*/
    .rwd_outer .prize_outer.prize_point .gift_link {
        font-size: 14px;
        margin-bottom: 8px;
        min-width: 192px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ffffff;
        text-decoration: none;
        background-color: #ff5353;
        max-width: calc(100% - 30px);
        word-break: break-all;
        padding: 5px 10px;
    }

    .rwd_outer .prize_outer .left_count {
    	font-size: 14px;
    }

    .rwd_outer .prize_outer .back_to_game {
    	font-size: 14px;
    	color:#0279FF
    }

    /* 遊戲次數已滿 */
    .rwd_outer .prize_outer .today_played {
    	font-size: 20px;
    	font-weight: normal;
    	line-height: 1;
    }

    .rwd_outer .prize_outer .today_played div:first-child {
    	margin-bottom: 4px;
    }

    .rwd_outer .prize_outer .today_played div:last-child {
    	color:#666666
    }

    .rwd_outer .prize_outer .MoreDiscount {
        font-size: 14px;
        min-width: 192px;
    	margin-top: 12px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ffffff;
        text-decoration: none;
        background-color: #ff5353;
        max-width: calc(100% - 30px);
        word-break: break-all;
        padding: 5px 10px;
    }

    .rwd_outer .prize_outer .not_allow_reason {
    	font-size: 20px;
    	font-weight: normal;
    	line-height: 1;
        display:block;
    }

    .rwd_outer .prize_outer .not_allow_suggest {
        font-size: 16px;
        min-width: 192px;
    	margin-top: 12px;
        border-style: solid;
        border-radius: 5px;
        border-width: 1px;
        display: inline-flex;
        min-height: 39px;
        justify-content: center;
        align-items: center;
        border-color: #ff5353;
        color: #ffffff;
        text-decoration: none;
        background-color: #ff5353;
        max-width: calc(100% - 30px);
        word-break: break-all;
        padding: 5px 10px;
    }
    
    /* Popup Close Button */
    .rwd_outer .prize_outer ul li .close {
    	display: block;
    	position: absolute;
    	width: 10%;
    	height: auto;
    	top: 0;
    	right: 0;
    	transform: translate(50%,-50%);
    }
}

.ezslots>.window {
    overflow: hidden;
    display: inline-block;
}

.ezslots>.window>.slider>.symbol {
    text-align: center;
    display: table;
}

.ezslots>.window>.slider>.symbol>.content {
    padding: 0px;
    margin: 0px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

/* 開扭蛋動畫 */
.open_ball {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: rgba(0, 0, 0, .5); */
    display: none;
    z-index: 1000;
}
.balltop{
    width: 154px;
    height: 92px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% -50%);
    margin-top: -80px;
    margin-left: -80px;
    visibility: hidden;
}
.ballbottom{
    width: 157px;
    height: 100px;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50% 50%);
    margin-left: -80px;
    transform-origin: 50% 100%;
    visibility: hidden;
}