/**
************************************************************************************
* CSR  : http://clm.lge.com/issue/browse/BTOCSITE-110220
* CODE : Dev - EV00021041 , Prod - EV00008721
* FILE : /kr/event/2025/12/01_app_daily/eventMainAppDaily.jsp
* DESC : 앱 전용 출석체크 이벤트 - 12월
* PROJ : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2025/11/17				신우용				Created
************************************************************************************
**/

/* 이벤트 기본 설정 */
* {
    --width: 1380;

}

.evt-func {
    position: relative;
}

.event-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(251, 245, 233, 0.00) 0%, #F4E5DB 100%), linear-gradient(90deg, #EEDACB 0%, #F0DDCC 17%, #EED5BE 34%, #DCB17B 71%, #F0E1D7 100%);
    gap: 20px;
}

.event-contents * {
    font-family: 'Pretendard';
}

.event-contents:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: url('/kr/event/2025/12/01_app_daily/images/bg_mask.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

.event-contents>div:not(.notice-area) {
    width: 860px;
    margin: 0 auto;
}

.event-contents>.naver-point,
.event-contents>.bonus-time {
    margin-top: -20px !important;
}

.calender-cnt {
    width: 100%;
    padding-top: 40px;
}

.calender-box {
    width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow: 0px 0px 30px 0px rgba(67, 94, 20, 0.20);
    backdrop-filter: blur(10px);
}

.calender-box .btn-wrap {
    display: flex;
    width: 460px;
    margin: 24px auto 0;
    gap: 0 15px;
}

.calender-box .btn-wrap button {
    flex: 1;
    display: inline-flex;
    min-width: 220px;
    height: 60px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 10px;
    background: #EA1917;
}

.calender-box .btn-wrap button:only-child {
    width: 460px;
}

.calender-start {
    position: relative;
    display: block;
    padding: 40px;
}

.calender-data {
    position: relative;
    display: none;
    padding: 40px;
}

.calender-count {
    position: absolute;
    top: -30px;
    left: 50%;
    display: flex;
    width: 375px;
    height: 60px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 900px;
    background: #0F0F10;
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.24);
    transform: translateX(-50%);
}

.calender-count:before {
    content: '';
    display: inline-flex;
    width: 20px;
    height: 30px;
    background-image: url('/kr/event/2025/12/01_app_daily/images/ico_snowman.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

.calender-count span {
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.calender-count span:last-child {
    display: inline-flex;
    width: 50px;
    color: #F29491;
    text-align: right;
    font-weight: 600;
    letter-spacing: -0.34px;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.calender-count em {
    font-size: 24px;
}

.calender-list {
    display: grid;
    width: 460px;
    margin: 0 auto;
    grid-template-columns: repeat(5, minmax(calc((100% - 80px) / 5), auto));
    gap: 0 20px;
}

.calender-list>* {
    position: relative;
    display: inline-flex;
    height: 114px;
    justify-content: center;
    align-items: center;

}

.calender-list>*.lgday:before {
    content: 'x2';
    display: inline-flex;
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 28px;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 24px;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 600;
    background-color: #ED6000;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.16);
    z-index: 1;
    transform: translateX(-50%);
}

.calender-list>* span {
    display: inline-flex;
    width: 100%;
    height: 100%;
    padding-bottom: 12px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    color: #777;
    background-image: url('/kr/event/2025/12/01_app_daily/images/ico_calander_off.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.calender-list .today span {
    font-size: 0;
    background-image: url('/kr/event/2025/12/01_app_daily/images/ico_calander_today.svg');
}

.calender-list .today span:after {
    content: 'today';
    display: inline-flex;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #EA1917;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.calender-list .complete span {
    font-size: 0;
    background-image: url('/kr/event/2025/12/01_app_daily/images/ico_calander_on.svg');
}

.calender-list>* .blind {
    display: none;
}

.calender-list .off .text-off,
.calender-list .today .text-today,
.calender-list .complete .text-on {
    display: block;
}

.evt-acco-head.evt-btn-area {
    top: 0;
    padding-top: calc(66 / var(--width)* 100%);
}

.evt-acco-head.evt-btn-area button {
    width: 100%;
}

.evt-acco-cont .unfolded {
    padding-bottom: 60px;
}

/* floating */
.float {
    position: fixed;
    right: 48px;
    bottom: 118px;
    width: 80px;
    height: 80px;
    z-index: 97;
}

.float button {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('/kr/event/2025/12/01_app_daily/images/floating.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

.float button:disabled {
    display: none;
}

.float.scroll-move {
    bottom: 190px;
}

@media screen and (max-width: 1480px) {
    .event-contents>div:not(.notice-area) {
        width: 58.1081vw;
    }

    .event-contents>.naver-point,
    .event-contents>.bonus-time {
        margin-top: -1.3514vw !important;
    }

    .calender-cnt {
        padding-top: 2.7027vw;
    }

    .calender-box {
        width: 54.0541vw;
    }

    .calender-box .btn-wrap {
        width: 31.0811vw;
        margin: 1.6216vw auto 0;
        gap: 0 1.0135vw;
    }

    .calender-box .btn-wrap button {
        min-width: 14.8649vw;
        height: 4.0541vw;
        font-size: 1.3514vw;
    }

    .calender-box .btn-wrap button:only-child {
        width: 31.0811vw;
    }

    .calender-start,
    .calender-data {
        padding: 2.7027vw;
    }

    .calender-count {
        top: -2.1vw;
        width: 25.3378vw;
        height: 4.0541vw;
        gap: 1.0811vw;
    }

    .calender-count:before {
        width: 1.3514vw;
        height: 2.0270vw;
    }

    .calender-count span {
        font-size: 1.3514vw;
    }

    .calender-count span:last-child {
        width: 3.3784vw;
    }

    .calender-count em {
        font-size: 1.6216vw;
    }

    .calender-list {
        width: 31.0811vw;
        gap: 0 1.3514vw;
    }

    .calender-list>* {
        height: 7.7027vw;
    }

    .calender-list>*.lgday:before {
        width: 2.9730vw;
        height: 1.8919vw;
        font-size: 1.2162vw;
    }

    .calender-list>* span {
        padding-bottom: 0.8108vw;
        font-size: 1.3514vw;
    }

    .calender-list .today span:after {
        font-size: 1.2162vw;
    }
}

@media screen and (max-width: 767px) {
    * {
        --width: 720;
    }

    .event-main img {
        width: 100%;
    }

    .event-contents {
        gap: calc(40 / 720 * 100vw);
    }

    .event-contents:before {
        background-image: url(/kr/event/2025/12/01_app_daily/images/m_bg_mask.png);
    }

    .event-contents>div:not(.notice-area) {
        width: calc(640 / 720 * 100vw);
    }

    .event-contents>.naver-point,
    .event-contents>.bonus-time {
        margin-top: calc(-40 / 720 * 100vw) !important;
    }

    .calender-cnt {
        padding-top: calc(40 / 720 * 100vw);
    }

    .calender-box {
        width: calc(590 / 720 * 100vw);
        border-radius: 8px;
    }

    .calender-box .btn-wrap {
        width: 100%;
        margin-top: 0;
        gap: calc(16 / 720 * 100vw);
    }

    .calender-box .btn-wrap button {
        min-width: calc(220 / 720 * 100vw);
        height: calc(100 / 720 * 100vw);
        font-size: calc(32 / 720 * 100vw);
        border-radius: 8px;
    }

    .calender-box .btn-wrap button:only-child {
        width: calc(560 / 720 * 100vw);
    }

    .calender-start,
    .calender-data {
        padding: calc(50 / 720 * 100vw) calc(40 / 720 * 100vw) calc(40 / 720 * 100vw);
    }

    .calender-count {
        top: calc(-40 / 720 * 100vw);
        width: calc(480 / 720 * 100vw);
        height: calc(80 / 720 * 100vw);
        gap: calc(16 / 720 * 100vw);
    }

    .calender-count:before {
        width: calc(27 / 720 * 100vw);
        height: calc(40 / 720 * 100vw);
    }

    .calender-count span {
        font-size: calc(30 / 720 * 100vw);
    }

    .calender-count span:last-child {
        width: calc(80 / 720 * 100vw);
    }

    .calender-count em {
        font-size: calc(32 / 720 * 100vw);
    }

    .calender-list {
        width: 100%;
        gap: 0;
    }

    .calender-list>* {
        height: calc(165 / 720 * 100vw);
    }

    .calender-list>*.lgday:before {
        top: 1.2vw;
        width: 8.6111vw;
        height: 5.5556vw;
        font-size: 3.0556vw;
    }

    .calender-list>* span {
        padding-bottom: calc(8 / 720 * 100vw);
        font-size: calc(30 / 720 * 100vw);
    }

    .calender-list .today span:after {
        font-size: calc(26 / 720 * 100vw);
    }

    .evt-acco-head.evt-btn-area {
        padding-top: calc(60 / var(--width)* 100%);
    }

    .float {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 155px;
    }

    .float.scroll-move {
        bottom: 205px;
    }

    .app .float {
        bottom: 105px;
    }

    .app .float.scroll-move {
        bottom: 150px;
    }
}