@charset "UTF-8";

@keyframes slideNotiIn {
    0% { 
        transform: translate3d(-100vw, 0, 0); 
        opacity: 1; 
    }
    25% { 
        transform: translate3d(0, 0, 0); 
        opacity: 1; 
    }
    
    35% { opacity: 0.1; }
    45% { opacity: 1; }
    55% { opacity: 0.1; }
    65% { opacity: 1; }
    75% { opacity: 0.1; }
    85% { opacity: 1; }
    
    100% { 
        transform: translate3d(0, 0, 0); 
        opacity: 1; 
    }
}

@keyframes slideNotiOut {
    0% { 
        transform: translate3d(0, 0, 0); 
        opacity: 1; 
    }
    100% { 
        transform: translate3d(calc(100vw + 100px), 0, 0); 
        opacity: 1; 
    } 
}

*, *::before, *::after { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

html, body { overscroll-behavior: none; }

.container { min-width: 1920px; min-height: 0; display: grid; grid-template-rows: 78px auto 78px; }

.container > .lyt-head { padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 28px; color: #fff; border-bottom: 2px solid #252626; background: #2e3030; }

.container > .lyt-head > .symbol { width: 240px; aspect-ratio: 153 / 38; }
.container > .lyt-head > .symbol img { width: 100%; }

.container > .lyt-head .left { min-width: 0; width: 100%; display: grid; grid-template-columns: auto auto; gap: 0 24px; justify-content: space-between; align-items: center; }
.container > .lyt-head .right { min-width: 0; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 0 16px; }


.container > .lyt-head .left .date { min-width: 0; height: 100%; display: grid; grid-template-columns: 130px auto 114px; align-items: center; gap: 16px; font-size: 28px; font-weight: 500; }

.container > .lyt-head .date .week::after { content: "요일"; }
.container > .lyt-head .date .week,
.container > .lyt-head .date .time { width: max-content; text-align: center; }

.container > .lyt-head .weather { padding: 0 24px; min-width: max-content; height: 60px; display: grid; grid-template-columns: auto auto; justify-content:space-between; align-items: center; gap: 0 24px; border-radius: 30px; font-size:24px; background: #000; }

.container > .lyt-head .weather .condition { position: relative; display: flex; align-items: center; }
.container > .lyt-head .weather .condition span { display: block; width: 40px; height: 40px; background: none no-repeat center center / contain; }

.container > .lyt-head .weather .condition .slave[data-weather="0"],
.container > .lyt-head .weather .condition .slave[data-weather="12"],
.container > .lyt-head .weather .condition .slave[data-weather="2"] { display: none; }

.container > .lyt-head .weather .condition .slave[data-weather="1"] { background-image: url('/public/images/icon/weather/storm.webp'); }

.container > .lyt-head .weather .condition .master[data-weather="0"] { display: none; }
.container > .lyt-head .weather .condition .master[data-weather="21"], 
.container > .lyt-head .weather .condition .master[data-weather="22"] { background-image: url('/public/images/icon/weather/rain.webp'); }
.container > .lyt-head .weather .condition .master[data-weather="23"] { background-image: url('/public/images/icon/weather/rain_heavy.webp'); }

.container > .lyt-head .weather .condition .master[data-weather="31"] { background-image: url('/public/images/icon/weather/snow.webp'); }
.container > .lyt-head .weather .condition .master[data-weather="32"] { background-image: url('/public/images/icon/weather/sleet.webp'); }

.container > .lyt-head .weather .condition .master[data-weather="1"] { background-image: url('/public/images/icon/weather/sunny.webp'); }

.container > .lyt-head .weather .condition .master[data-weather="3"] { background-image: url('/public/images/icon/weather/cloudy_mostly.webp'); }
.container > .lyt-head .weather .condition .master[data-weather="4"] { background-image: url('/public/images/icon/weather/sunny.webp'); }

.container > .lyt-head .weather .temperature { display: flex; gap: 24px; }
.container > .lyt-head .weather .temperature .group { width: max-content; display: flex; justify-content: flex-end; gap: 8px; }

.container > .lyt-head .weather .degrees { max-width: 86px; text-align: right; }
.container > .lyt-head .weather .degrees::after { content: "°C"; }
.container > .lyt-head .weather .degrees.low { color: #008cff; }
.container > .lyt-head .weather .degrees.high { color: #ff1800; }

.container > .lyt-head .air-quality { padding: 0 24px; min-width: max-content; width: max-content; height: 60px; display: flex; align-items: center; gap: 12px; font-size:24px; border-radius: 30px; font-size:24px; background: #000;  overflow: hidden; }
.container > .lyt-head .air-quality .group { display: flex; align-items: center; gap: 12px; font-size:24px; }
.container > .lyt-head .air-quality .group.pm10 { min-width: max-content; width: max-content; }
.container > .lyt-head .air-quality .group.pm25 { min-width: max-content; width: max-content; }

.container > .lyt-head .air-quality dd { font-size: 20px; }
.container > .lyt-head .air-quality dd[data-quality="1"] { color: #008cff; }
.container > .lyt-head .air-quality dd[data-quality="2"] { color: #00ff72; }
.container > .lyt-head .air-quality dd[data-quality="3"] { color: #ffb400; }
.container > .lyt-head .air-quality dd[data-quality="4"] { color: #ff1800; }

.container > .lyt-head .gnb { min-width: 0;  height: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.container > .lyt-head .gnb button,
.container > .lyt-head .gnb a { padding: 0 24px; min-width: max-content; height: 60px; display: flex; justify-content: center; align-items: center; color: #fff; border: 2px solid #555; border-radius: 30px; font-size: 26px; background: transparent; }

.container > .lyt-head .gnb a[data-href="home"] { position: relative; padding-left: 60px; }
.container > .lyt-head .gnb a[data-href="home"]::before { position: absolute; left: 6px; content:""; width: 46px; height: 46px; background: url('/public/images/icon/home.svg') no-repeat center center / contain; }

.container > .lyt-main { width: 100%; height: 100%; }
.container > .lyt-foot { position: relative; padding: 0 100px; width: 100%; height: 100%; display: flex; align-items: center; border: 0; font-size: 40px; color: #fff; border-top: 2px solid #252626; background: #2e3030; overflow: hidden; }
.container > .lyt-foot::before { position: absolute; left: 0; z-index: 3; content:""; display: block; width: 100px; height: 100%; background: #2e3030 url('/public/images/bell.webp') no-repeat center center / 40px 48px; }
.container > .lyt-foot::after { position: absolute; right: 0; z-index: 3; content:""; display: block; width: 100px; height: 100%; background: #2e3030 }

.foot-track { position: absolute; left: 100px; right: 100px; height: 100%; display: flex; align-items: center;overflow: visible; z-index: 1; }
.noti-text { display: inline-block; white-space: nowrap; will-change: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; perspective: 1000px; overflow: hidden; text-overflow: ellipsis; }

.slide-in { animation: slideNotiIn 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }
.slide-out { animation: slideNotiOut 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }

.container .snb { padding-bottom: 4px; display: flex; flex-direction: column; border: 4px solid transparent; border-radius: 18px; border-top-left-radius : 18px; border-top-right-radius : 18px; border-bottom-left-radius : 18px; border-bottom-right-radius : 18px; overflow: hidden; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.15s ease; }
.container .snb .text { width: 100%; height: calc(100% - 4px); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 700; border-top-left-radius : 0;  border-top-right-radius : 0; border-bottom-left-radius : inherit; border-bottom-right-radius : inherit; }

.container .snb[data-active="off"] { border-color: #1c3228; background-color: #ccc; }
.container .snb[data-active="off"] .text { background-color: #ffffff; }

.container .snb:active,
.container .snb[data-active="on"] { border-color: #183426; background-color: #14764a; }
.container .snb:active .text, 
.container .snb[data-active="on"] .text { color: #fff; background: linear-gradient(to bottom, #47aa7d 50%, #18935c 50%); }

.container .snb:active { padding-bottom: 3px; transform: translateY(3px); }
.container .snb:active .text { height: calc(100% - 3px); transition: background 0.2s ease, color 0.2s ease, height 0.15s ease; }

.contents { width: 100%; height: 100%; }

.dialog .dialog-timer { margin-top: 20px; text-align: center; }
.dialog .dialog-timer .countdown { height: 60px; display: flex; justify-content: center; align-items: center; font-size: 26px; font-weight: 700; }
.dialog .dialog-timer .countdown .timer::after { content: " 초 후"; }

.main { min-width: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 280px 1fr; background: url('/public/images/bg/main.webp') no-repeat left top / cover; }

.main .main-head { position: relative; padding-bottom: 48px; min-width: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.main .main-head .title { font-size: 56px; color: #e69248; text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); }
.main .main-head .desc { position: absolute; bottom: 60px; color: #fff; font-size: 30px; text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); }
.main .launcher { width: 100%; height: 100%; }
.main .launcher ul { min-width: 0; width: 100%; height: 560px; display: flex; justify-content: space-evenly; align-items: center; }

.main .launcher li { width: 430px; height: 560px; }
.main .launcher li button { width: 100%; height: 100%; display: block; background: transparent no-repeat left top / cover; overflow: hidden; }
.main .launcher .notify { background-image: url('/public/images/main/notify.webp'); }
.main .launcher .exp { background-image: url('/public/images/main/exp.webp'); }
.main .launcher .game { background-image: url('/public/images/main/game.webp'); }
.main .launcher .bis { background-image: url('/public/images/main/bis.webp'); }

.main .launcher .notify:active { background-image: url('/public/images/main/notify_active.webp'); }
.main .launcher .exp:active { background-image: url('/public/images/main/exp_active.webp'); }
.main .launcher .game:active { background-image: url('/public/images/main/game_active.webp'); }
.main .launcher .bis:active { background-image: url('/public/images/main/bis_active.webp'); }






