/*event year-end*/
:root{
    --ye-pane-bg: #470E8980;
    --ye-active-bg: #5D04C4;
    --ye-row-bg: linear-gradient(270deg,#34097000,#340970,#34097000);
    --ye-pill-bg: #EB11B980;
    --ye-pill-c: #FFCE00;
    --ye-radius: 12px;
}
.ye header{border-bottom:0}
.ye .bod{height:100%}

/*hero*/
.ye-hero{
    position: relative;
    width: 100%;
    aspect-ratio: 860/730;
    background: url('https://ne.tykcdn.com/assets/horobot/event/img/year-end.png') no-repeat center top/100% 100%;
}
.ye-hero-txt{
    position: absolute;
    bottom: .9rem;
    left: 0;
    width: 100%;
    padding: 0 1.1rem;
    text-align: center;
}
.ye-hero-txt > .a{
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
}
.ye-hero-txt > .b{
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.25;
    margin-top: .5rem;
}
.ye-head{display:none}

/*container*/
.ye-container{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px 3rem;
}

/*prize pill*/
.ye-pill{
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 4.3rem;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(#8912A04D,#43094E99);
}
.ye-pill-a{
    display: flex;
    align-items: center;
    padding-inline: .6rem;
    background: var(--ye-pill-bg);
    color: var(--ye-pill-c);
}
.ye-pill-a > .gift{
    flex: 0 0 auto;
    align-self: center;
    width: 2.5rem;
    height: 2.5rem;
    background: url('https://ne.tykcdn.com/assets/horobot/event/img/gift-box.png') no-repeat center center/contain;
}
.ye-pill-a > .rp{
    position: relative;
    top: -.55rem;
    font-size: .65rem;
    line-height: 1;
    margin-right: .2rem;
}
.ye-pill-a > .amt{
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}
.ye-pill-b{
    display: flex;
    align-items: center;
    font-size: .9rem;
    line-height: 1.35;
    padding: 0 .75rem 0 .7rem;
}

/*tabs*/
.ye-tabs{
    margin-top: 1.25rem;
    align-items: stretch;
}
.ye-tabs > .tab{
    height: 2.65rem;
    font-size: .9rem;
    background-color: var(--ye-pane-bg);
    border-radius: 0;
    font-weight: 400;
}
.ye-tabs > .tab:first-of-type{border-radius:10px 0 0 0}
.ye-tabs > .tab:last-of-type{border-radius:0 10px 0 0}
.ye-tabs > .tab:is(input:checked){
    background-color: var(--ye-active-bg);
    font-weight: 700;
}
.ye-tabs > .tab-content{
    background-color: var(--ye-pane-bg);
    border-radius: 0 0 var(--ye-radius) var(--ye-radius);
    padding: 1.1rem 1.5rem;
}

/*tab pemenang*/
.ye-note{
    font-size: .8rem;
    line-height: 1.25;
    text-align: center;
}
.ye-prize{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ye-pill-c);
    margin-top: .35rem;
}
.ye-prize > span{
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    background: url('https://ne.tykcdn.com/assets/horobot/event/img/gift-box.png') no-repeat center center;
    background-size: contain;
}
.ye-date{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.35rem;
    font-size: .8rem;
    background-color: var(--ye-active-bg);
    border-radius: 6px;
    margin-top: 1.1rem;
}
.ye-date > button{
    position: absolute;
    top: 0;
    width: 2.5rem;
    height: 100%;
    background: url('https://ne.tykcdn.com/assets/horobot/icon/arrow-l.svg') no-repeat center center;
    background-size: .45rem auto;
}
.ye-date > button.p{left:.35rem}
.ye-date > button.n{
    right: .35rem;
    transform: scaleX(-1);
}
.ye-date > button:disabled{
    opacity: .3;
    cursor: default;
}
.ye-win{
    width: 100%;
    margin: .5rem auto 0;
    border-collapse: separate;
    border-spacing: 0 .4rem;
    font-size: .8rem;
    text-align: center;
}
.ye-win th{
    font-weight: 700;
    padding-bottom: .15rem;
}
.ye-win tr{
    height: 1.95rem;
    background: var(--ye-row-bg);
}
.ye-win td:first-child{font-weight:700}
.ye-win th:first-child,.ye-win td:first-child{width:30%}
.ye-win th:last-child,.ye-win td:last-child{padding-right:8%}

/*tab mekanisme*/
.ye-sub{
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.4;
}
.ye-step{margin-top:1.1rem}
.ye-step > li{
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9rem;
    line-height: 1.4;
    padding: .6rem 0;
    background: linear-gradient(270deg,#34097000,#340970,#34097000);
}
.ye-step > li:not(:last-child){margin-bottom:.25rem}
.ye-step > li > .n{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.95rem;
    height: 1.95rem;
    background-image: linear-gradient(180deg,#C71BB0,#9E13A4);
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 600;
}
.ye-step > li > .t{padding-top:.2rem}

/*tab syarat & ketentuan*/
.ye-text{
    font-size: .9rem;
    line-height: 1.4;
}
.ye-text > p{margin-top:1.25rem}
.ye-snk{
    margin-top: 1.45rem;
    list-style-type: decimal;
    padding-left: 1rem;
}

@media only screen and (min-width:768px){
    /*hero*/
    .ye-hero{
        aspect-ratio: 3840/942;
        background-image: url('https://ne.tykcdn.com/assets/horobot/event/img/year-end_desktop.png');
    }
    .ye-hero-txt{
        bottom: 1.9rem;
        left: 50%;
        transform: translateX(-50%);
        max-width: 1536px;
        padding: 0 3.3rem;
        text-align: left;
    }
    .ye-hero-txt > .a{font-size:var(--h5)}
    .ye-hero-txt > .b{font-size:var(--fsize)}
    .ye-head{
        position: absolute;
        top: 5.75rem;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 1536px;
        height: 4rem;
        padding: 0 1rem;
        z-index: 20;
    }
    .ye-head > .btn-back{
        width: 4rem;
        height: 100%;
        background-size: 25%;
    }
    .ye-head > .c{
        font-size: var(--h6);
        font-weight: 600;
    }

    /*prize pill*/
    .ye-pill{
        display: inline-flex;
        width: auto;
        height: 4.95rem;
        margin-top: 1.5rem;
    }
    .ye-pill-a{
        padding: 0 .75rem;
    }
    .ye-pill-a > .gift{
        width: 2.8rem;
        height: 2.6rem;
        margin-right: .45rem;
    }
    .ye-pill-a > .rp{
        top: -.6rem;
        font-size: var(--fsmall);
    }
    .ye-pill-a > .amt{font-size:var(--h2)}
    .ye-pill-b{
        font-size: var(--fsize);
        line-height: 1.25;
        padding: 0 2.45rem 0 1.35rem;
        white-space: nowrap;
    }

    /*tabs*/
    .ye-tabs{
        grid-template-columns: 26.25rem 1fr;
        grid-template-rows: auto auto auto 1fr;
        -moz-column-gap: 1.45rem;
             column-gap: 1.45rem;
        margin-top: 1.5rem;
    }
    .ye-tabs > .tab{
        grid-column: 1;
        justify-content: flex-start;
        height: 3.7rem;
        font-size: var(--fsize);
        padding: 0 2.5rem;
        border-radius: 0;
    }
    .ye-tabs > .tab:nth-of-type(1){grid-row:1}
    .ye-tabs > .tab:nth-of-type(2){grid-row:2}
    .ye-tabs > .tab:nth-of-type(3){
        grid-row: 3;
        border-radius: 0 0 var(--ye-radius) var(--ye-radius);
    }
    .ye-tabs > .tab:first-of-type{border-radius:var(--ye-radius) var(--ye-radius) 0 0}
    .ye-tabs > .tab:nth-of-type(3):after{--tw-content:'Syarat & Ketentuan'}
    .ye-tabs > .tab-content{
        grid-column: 2;
        grid-column-end: auto;
        grid-row: 1 / span 4;
        border-radius: var(--ye-radius);
        padding: 1.5rem 2.2rem 2.2rem;
    }

    /*tab pemenang*/
    .ye-note{font-size:var(--fsize)}
    .ye-prize{
        gap: .5rem;
        font-size: var(--fsize3);
        margin-top: .5rem;
    }
    .ye-prize > span{
        width: 1.45rem;
        height: 1.35rem;
    }
    .ye-date{
        height: 2.8rem;
        font-size: var(--fsize);
        margin-top: 1.45rem;
    }
    .ye-date > button{
        width: 3.9rem;
        background-size: .55rem auto;
    }
    .ye-date > button.p{left:0}
    .ye-date > button.n{right:0}
    .ye-win{
        width: calc(100% + 4.4rem);
        margin: .9rem -2.2rem 0;
        border-spacing: 0 .45rem;
        font-size: var(--fsmall4);
    }
    .ye-win th{padding-bottom:.35rem}
    .ye-win td{height:2.15rem}

    /*tab mekanisme*/
    .ye-sub{
        font-size: var(--fsize);
        line-height: 1.4;
    }
    .ye-step{margin-top:1.45rem}
    .ye-step > li{
        gap: .85rem;
        font-size: var(--fsize);
        line-height: 1.4;
    }
    .ye-step > li:not(:last-child){margin-bottom:.45rem}
    .ye-step > li > .n{
        width: 2.4rem;
        height: 2.4rem;
        font-size: var(--fsmall1);
        margin-left: .65rem;
    }
    .ye-step > li > .t{padding-top:.3rem}

    /*tab syarat & ketentuan*/
    .ye-text{
        font-size: var(--fsize);
        line-height: 1.4;
    }
    .ye-text > p{margin-top:1.65rem}
}
/*end event year-end*/

/*floating button*/
.floating2{
    top: 19rem;
    left: unset;
    right: 1rem;
    max-width: 7rem;
}
.floating2 > div{will-change:transform;
    position: relative;
    padding-bottom: 100%;
    background: url('https://ne.tykcdn.com/assets/horobot/event/10/floating/1.png') no-repeat center center/contain;
    animation: Fltg 1.5s ease infinite}
@keyframes Fltg{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}

@media only screen and (max-width:640px){
    .floating {max-width:8rem}
    .floating2{
        top: 16rem;
        max-width: 6rem;
    }
}
/*end floating button*/