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

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

}

.event-container * {
    font-family: 'Pretendard', sans-serif;
}

.event-contents {
    display: flex;
    padding-bottom: calc(80 / var(--width)* 100%);
    flex-direction: column;
    align-items: center;
    background-color: #F2E2D7;
    gap: 70px;
}

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

.event-contents>div {
    width: calc(1146/var(--width)*100%);
    margin: 0 auto;
    border-radius: 16px;
}

.event-contents>div:not(.calender-cnt, .period-area) {
    box-shadow: 0px 2px 10px 0px rgba(33, 39, 49, 0.15), 0px 1px 0px 0px rgba(33, 39, 49, 0);
}

.event-contents .calender-cnt {
    padding-top: 30px;
    background: linear-gradient(180deg, rgba(251, 245, 233, 0.00) 0%, #F2E2D7 100%), linear-gradient(90deg, #EEDACB 0%, #F0DDCC 17%, #EED5BE 34%, #DCB17B 71%, #F0E1D7 100%);
}

.calender-box {
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.70);
    box-shadow: 0px 2px 10px 0px rgba(33, 39, 49, 0.15), 0px 1px 0px 0px rgba(33, 39, 49, 0);
    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: 60px;
}

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

.calender-count {
    position: absolute;
    top: -30px;
    left: 50%;
    display: flex;
    width: 372px;
    height: 58px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    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: 29px;
    height: 30px;
    background-image: url('/kr/event/2026/01/02_app_daily/images/ico_luckybag.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
}

.calender-count span {
    color: #FFF;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

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

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

.calender-list {
    display: grid;
    width: calc(800/1026*100%);
    margin: 0 auto;
    grid-template-columns: repeat(8, minmax(calc((100% - 238px) / 8), auto));
    column-gap: 34px;
}

.calender-list>* {
    position: relative;
    display: inline-flex;
    aspect-ratio: 70 / 97;
    justify-content: center;
    align-items: center;
}

.calender-list>*.lgday:before {
    content: 'x2';
    display: inline-flex;
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 24px;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 24px;
    font-size: 16px;
    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: 10px;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    color: #8F8F8F;
    background-image: url('/kr/event/2026/01/02_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/2026/01/02_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: #752203;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.calender-list .complete span {
    font-size: 0;
    background-image: url('/kr/event/2026/01/02_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;
}

.bonus-gift::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    width: 32px;
    height: 32px;
    background-image: url('/kr/event/2026/01/02_app_daily/images/ico_plus.svg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    transform: translateX(-50%);
}

.daily-notice-list {
    width: calc(1146 / var(--width)*100%);
    margin: calc(66 / var(--width) * 100%) auto 0;
}

.daily-notice-list .evt-acco-head button {
    display: inline-flex;
    height: 24px;
    font-size: 13px;
    line-height: 1.4;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.daily-notice-list .evt-acco-head button:after {
    content: '';
    display: inline-flex;
    width: 12px;
    height: 12px;
    background-image: url('/kr/event/2026/01/02_app_daily/images/ico_arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    transform: rotate(0deg);
    transition: transform 0.3s;
}

.daily-notice-list .evt-acco-head button[aria-expanded="true"]:after {
    transform: rotate(180deg);
}

.daily-notice-list .evt-acco-cont.unfolded {
    margin-top: 30px;
}

/* 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/2026/01/02_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 {
        gap: calc(70 / 1480 * 100vw);
    }

    .event-contents .calender-cnt {
        padding-top: calc(30 / 1480 * 100vw);
    }

    .calender-start,
    .calender-data {
        padding: calc(60 / 1480 * 100vw);
    }

    .calender-count {
        top: calc(-30 / 1480 * 100vw);
        width: calc(372 / 1480 * 100vw);
        height: calc(58 / 1480 * 100vw);
        gap: calc(8 / 1480 * 100vw);
    }

    .calender-count:before {
        width: calc(29 / 1480 * 100vw);
        height: calc(30 / 1480 * 100vw);
    }

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

    .calender-count span:last-child {
        width: calc(48 / 1480 * 100vw);
        gap: calc(5 / 1480 * 100vw);
    }

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

    .calender-list {
        grid-template-columns: repeat(8, minmax(calc((100% - calc(238 / 1480 * 100vw)) / 8), auto));
        column-gap: calc(34 / 1480 * 100vw);
    }

    .calender-list>*.lgday:before {
        width: calc(40 / 1480 * 100vw);
        height: calc(24 / 1480 * 100vw);
        font-size: calc(16 / 1480 * 100vw);
    }

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

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

    .calender-box .btn-wrap {
        width: calc(460 / 1480 * 100vw);
        margin: calc(24 / 1480 * 100vw) auto 0;
        gap: 0 calc(15 / 1480 * 100vw);
    }

    .calender-box .btn-wrap button {
        min-width: calc(220 / 1480 * 100vw);
        height: calc(60 / 1480 * 100vw);
        font-size: calc(20 / 1480 * 100vw);
    }

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

    .bonus-gift::before {
        top: calc(-50 / 1480 * 100vw);
        width: calc(32 / 1480 * 100vw);
        height: calc(32 / 1480 * 100vw);
    }
}

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

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

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

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

    .event-contents>div {
        width: calc(350 / 390 * 100vw);
    }

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

    .calender-box {
        border-radius: 8px;
    }

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

    .calender-count {
        top: calc(-20 / 390 * 100vw);
        width: calc(255 / 390 * 100vw);
        height: calc(42 / 390 * 100vw);
        gap: calc(8 / 390 * 100vw);
    }

    .calender-count:before {
        width: calc(23 / 390 * 100vw);
        height: calc(24 / 390 * 100vw);
    }

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

    .calender-count span:last-child {
        width: calc(36 / 390 * 100vw);
        gap: calc(2 / 390 * 100vw);
    }

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

    .calender-list {
        width: 100%;
        grid-template-columns: repeat(5, minmax(calc((100% - calc(40 / 390 * 100vw)) / 5), auto));
        column-gap: calc(10 / 390 * 100vw);
    }

    .calender-list>* {
        aspect-ratio: 54 / 80;
    }

    .calender-list>*.lgday:before {
        width: calc(36 / 390 * 100vw);
        height: calc(20 / 390 * 100vw);
        font-size: calc(12 / 390 * 100vw);
    }

    .calender-list>* span {
        padding-bottom: calc(6 / 390 * 100vw);
        font-size: calc(22 / 390 * 100vw);
    }

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

    .calender-box .btn-wrap {
        width: 100%;
        margin-top: calc(24 / 390 * 100vw);
        gap: calc(8 / 390 * 100vw);
    }

    .calender-box .btn-wrap button {
        min-width: calc(110 / 390 * 100vw);
        height: calc(50 / 390 * 100vw);
        font-size: calc(16 / 390 * 100vw);
        border-radius: 8px;
    }

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

    .event-contents .bonus-gift {
        margin-top: calc(24 / 390 * 100vw);
    }

    .event-contents .bonus-gift::before {
        top: calc(-46 / 390 * 100vw);
        width: calc(32 / 390 * 100vw);
        height: calc(32 / 390 * 100vw);
    }

    .daily-notice-list {
        width: calc(350 / 390 * 100vw);
        margin: calc(24 / 390 * 100vw) auto 0;
    }

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

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

    .app .float {
        bottom: 105px;
    }

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