
:root {
    --danmu_row_height: 70px;
    --text_color: #3a3a3a;
    --jindu_img_width: 100px;
}

html,body{height:100%;}
html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
header,footer,section,article,aside,nav,hgroup,address,figure,figcaption,menu,details{display:block;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;font-weight:normal;}
html,body,fieldset,img,iframe,abbr{border:0;}
i,cite,em,var,address,dfn{font-style:normal;}
[hidefocus],summary{outline:0;}
li{list-style:none;}
h1,h2,h3,h4,h5,h6,small{font-size:100%;}
sup,sub{font-size:83%;}
pre,code,kbd,samp{font-family:inherit;}
q:before,q:after{content:none;}
textarea{overflow:auto;resize:none;}
label,summary{cursor:default;}
a,button{cursor:pointer;}
h1,h2,h3,h4,h5,h6,em,strong,b{font-weight:bold;}
del,ins,u,s,a,a:hover{text-decoration:none;}
body,textarea,input,button,select,keygen,legend{font:12px/1.14 Microsoft YaHei,arial,\5b8b\4f53;color:var(--text_color);outline:0;}
*{box-sizing: border-box;}


.caret {
    float: right;
    margin-top: 12px;
    width: 0;
    height: 10px;
    border: 10px solid;
    border-color:  #ffffff transparent transparent transparent;
    vertical-align: bottom;
}

.hide{
    display: none !important;
}
header img {
    width: 100%;
    height: auto;
}

body{
    background: url("../image/bg-21.jpg") repeat-y;
    background-size: 100%;
    font-size: 22px;
}
#container{
    width: 80%;
    margin: 0 auto;
}
#act_intro{
    width: 12%;
    max-width: 100px;
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 999;
}
#act_intro img {
    width: 100%;
}
.act_date_range {
    margin-top: 20px;
}
.top_tip_wrapper {
    width: 100%;
    position: relative;
    margin: 0 auto;
    margin-top: 30px;
}
.top_tip_wrapper > img {
    width: 100%;
    height: 100%;
}
.top_tip_wrapper .top_tip_group {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d72219;
    text-align: center;
    line-height: 40px;
}

/**
 弹幕
 */
#danmu_wrapper{
    width: 100%;
    height: 58%;
    margin: 30px auto;
    position: relative;
}
.danmu_bg {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 800;
}
#danmu_config_block{
    width: 80%;
    color: #ffffff;
    position: absolute;
    top: 60%;
    left: 10%;
    z-index: 900;
}

#danmu_diaplay_block{
    position: absolute;
    width: 90%;
    /*height: 500px;*/
    top: 5%;
    left: 5%;
    z-index: 700;
}
#danmu_diaplay_block .danmu_row{
    width: 100%;
    height: var(--danmu_row_height);
    margin: 26px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.danmu {
    width: max-content;
    min-width: 120px;
    text-align: center;
    /*font-weight: 600;*/
    color: var(--text_color);
    position: absolute;
    left: 100%;
}
.danmu_default{
    padding: 0 10px;
    height: calc(var(--danmu_row_height) - 20px);
    line-height: calc(var(--danmu_row_height) - 20px);
    background: #fde2db;
    border: 1px solid #e73a18;
    border-radius: 30px;
}
.danmu_sp{
    display: flex;
    white-space: nowrap;
    align-items: center;
    height: calc(var(--danmu_row_height) - 2px);
    line-height: calc(var(--danmu_row_height) - 2px);
}
.danmu_sp > div {
    display: inline-block;
}
.danmu_sp img {
    height: 100%;
}
.danmu_sp > div:first-child {
   height: 100%;
}
.danmu_sp > div:nth-child(2) {
    background: url("../image/dragon_b.png") repeat-x;
    background-size: 100% 100%;
    padding: 0 6px;
}
.danmu_sp > div:last-child {
    height: 100%;
}

.danmu_one_cfg {
    margin-top: 26px;
    font-size: 30px;
    display: flex;
    align-items: center;
}
.danmu_one_cfg div {
    display: inline-block;
}
.choose_danmu_bg {
    width: 36%;
}
.choose_danmu_bg img
{
    width: 100%;
}
.danmu_one_cfg > div:first-child {
    margin-right: 20px;
}
.authorname_block{
    width: 40%;
    border-bottom: 1px solid #ffffff;
}
.ul-selector{
    width: 100%;
    height: 100%;
    border: none;
    color: #ffffff;
    font-size: inherit;
    background: transparent;
}
ul.selector{
    color: var(--text_color);
    width: 200px !important;
    border: none !important;
}
.authorname_text{
    width: 80%;
}
.wish_block {
    width: 80%;
    border-bottom: 1px solid #ffffff;
    position: relative;
}
.change_wish_btn {
    position: absolute;
    top: -4px;
    right: 0;
}
.change_wish_btn img {
    height: 34px;
}
.wish_block div{
    display: inline-block;
}
.send_btn_block{
    margin-top: 42px;
    text-align: center
}


/**
 * 主体
 */
#main_wrapper{
    background-size: 100% 100%;
    padding-bottom: 90px;
}
.main_task_bg{
    background: url("../image/task_chosen_top.png") no-repeat;
}
.main_rank_bg{
    background: url("../image/rank_chosen_top.png") no-repeat;
}
.nav_wrapper{
    display: flex;
    height: 104px;
    font-size: 34px;
    font-weight: bolder;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
    background-size: 100% 100%;
}

.nav {
    width: 50%;
    text-align: center;
    height: 50px;
    line-height: 50px;
}
.nav:first-child{
    padding-left: 5%;
}
.nav:last-child{
    padding-right: 5%;
}
.nav.nav_active{
    color: #D72219;
}

.main_footer{
    width: 100%;
    height: 100px;
    background: url("../image/main_bg_bottom.png") no-repeat;
    background-size: 100%;
}

/**
 * 任务
 */
#task_wrapper,#rank_wrapper{
    margin: 0 auto;
    padding: 0 10%;
    background: url("../image/main_bg.png") repeat-y;
    background-size: 100%;
}
.task_tip{
    padding: 20px 0;
    padding-top: 42px;
    font-size: 30px;
    text-align: center;
    line-height: 40px;
}
.task_tip > span{
    font-size: 22px;
}
.send_wish_num_text{
    color:#f17f2b;margin: 30px auto 0; width: 90%
}
.jindutiao{
    position: relative;
    width: 90%;
    margin: 100px auto 120px;
}
.step_block{
    width: 100%;
    height: 28px;
    background: #fde2db;
    border-radius: 20px;
    display: flex;
}
.step_block .finish_step_block{
    width: 5%;
    border-radius: 20px;
    background: #f17b2b;
}
.step_desc_block img{
    width: var(--jindu_img_width);
}

.step_desc_block{
    position: absolute;
    top: -42px;
    text-align: center;
}
.step_desc_block.step_10{ left: 6%;}
.step_desc_block.step_30{ left: calc(24% - var(--jindu_img_width) / 2);}
.step_desc_block.step_50{ left: calc(50% - var(--jindu_img_width) / 2);}
.step_desc_block.step_100{ right: -22px;}

.step_desc_block .prize_title {
    color: #EC494E;
}
.step_desc_block .step_tip {
    color: #989898;
}

.task_block_border{
    position: relative;
    border: 2px solid #f17f2b;
    border-radius: 10px;
    margin: 60px 0 0;
    padding: 20px;
}
.block_title {
    position: absolute;
    top: -20px;
    left: 50%;
    text-align: center;
    min-width: 140px;
    transform: translateX(-50%);
    background: #fef5e4;
    color: #f17f2b;
    padding: 0 30px;
    font-size: 30px;
    font-weight: bolder;
    border-radius: 10px;
}
.task_list{
    width: 80%;
    margin: 60px auto;
}
.task_block_border .task_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    border-radius: 50px;
    background: #ffffff;
    padding: 10px 10px 10px 36px;
}
.task_block.task_prize{
    background: #ffdb8f;
}
.task_block.task_wait{
    background: #ffd1c1;
}
.task_btn{
    padding: 10px 22px;
    color: #ffffff;
    border-radius: 50px;
}
.task_btn.task_btn_disable{background: #c9c9c9}
.task_btn.task_btn_warning{background: #f17f2b}
.task_btn.task_btn_danger{background: #ec494e}

/**
 * 榜单
 */
#rank_wrapper .rank_row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#rank_wrapper .rank_list {
    background: url("../image/rank_top_bg.png") no-repeat;
    background-size: 100%;
    padding: 30px;
    min-height: 150px;
    overflow-y: auto;
}
.rank_row.rank_title{
    color: #DD4D43;
    padding: 10px 30px;
    font-size: 32px;
    font-weight: 600;
}
.rank_title > div{
    white-space: nowrap;
}
.rank_title div:nth-child(4){
    text-align: center !important;
}
.rank_row div{
    text-align: center;
    overflow: hidden;
}
.rank_row div:first-child{
    width: 14%;
}
.rank_row div:nth-child(2){
    width: 30%;
    white-space: nowrap;
    overflow: hidden;
}
.rank_row div:nth-child(3){
    width: 30%;
}
.rank_row div:nth-child(4){
    width: 18%;
    min-width: 60px;
    text-align: right;
}
.rank_item{
    background: #ffe6b0;
    border-radius: 50px;
    margin-bottom: 22px;
    position: relative;
    padding: 12px 22px;
    padding-left: 8px;
    font-size: 24px;
}
.rank_index{
    font-size: 30px;
    width: 38px;
    text-align: center;
}
.rank_index_top10{
    color: #DD4D43;
}
.redbag {
    position: absolute;
    top: -4px;
    right: 90px;
    z-index: 100;
    width: 56px;
}
.redbag_num{
    font-size: 22px !important;
}
.rank_img {
    position: absolute;
    top: 0;
    left: 60px;
    z-index: 100;
}
.rank_item:first-child{
    background: #ffae9b;
    padding: 26px 22px;
    font-size: 32px;
}
.rank_item:first-child .rank_img{
    width: 76px;
    top: -6px;
    left: 68px;
}
.rank_item:first-child .redbag{
    top: 10px;
}

.rank_item:nth-child(2){
    background: #ffbc92;
    padding: 16px 22px;
    font-size: 28px;
}
.rank_item:nth-child(2) .rank_img{
    width: 60px;
    top: -10px;
    left: 74px;
}
.rank_item:nth-child(3){
    background: #ffdb8f;
    padding: 14px 22px;
    font-size: 24px;
}
.rank_item:nth-child(3) .rank_img{
    width: 40px;
    top: -4px;
    left: 86px;
}
