@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap");

/* header */
#header {
    border-bottom: 1px solid #e5e5e5;
}
#header .header_top {
    padding-top: 28px;
    overflow: hidden;
}
#header .header_top .logo {
    float: left;
    width: 70px;
}
#header .header_top .logo a {
    width: 70px;
}
#header .header_top .logo .site-select-button {
    float: left;
    margin-top: 8px;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border: solid 1px #e0e0e0;
    border-radius: 100%;
    background-color: #fff;
    display: flex;
    cursor: pointer;
}
#header .header_top .logo .site-select-button img {
    width: 30px;
    height: 30px;
    content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_down.svg");
}
#header .header_top .logo .site-select-button.off img {
    content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_up.svg");
}
#header .header_top .payment_title,
#header .header_nav .payment_title{
    font-size: 20px;
    font-weight: 700;
    line-height: 43px;
    text-align: center;
    display: none;
}
#header .mb-header_top .payment_title {
    font-size: 18px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    display: none;
}
#header .header_top .site-list{
    position: absolute;
    top : 80px;
    width : 420px;
    background-color: white;
    border-radius: 8px;
    padding: 27px 30px 23px 24px;
    border: solid 1px #e0e0e0;
    display: none;
    z-index: 99;
}
#header .header_top .site-list .title{
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: left;
    color: #666;
}
#header .header_top .site-list .site{
    display: flex;
    margin-top : 15px;
    margin-left : 10px;
    cursor: pointer;
}
#header .header_top .site-list .site img{
    width: 70px;
}
#header .header_top .site-list .site .site-content{
    margin-left : 30px;
}
#header .header_top .site-list .site .site-content .site-title{
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.67;
    letter-spacing: normal;
    text-align: left;
    color: #333;
}
#header .header_top .site-list .site .site-content .site-desc{
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.67;
    letter-spacing: normal;
    text-align: left;
    color: #666;
}
#header .search_form {
    position: relative;
    float: left;
    /* margin-left: 76px; */
    margin-left: 6.5%;
    display: inline-block;
    background-color: #f5f5f7;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 8px 12px 8px 36px;
}
#header .search_form .keyword {
    width: 250px;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    height: 24px;
    padding: 0;
    background-color: transparent;
    outline: none;
}
#header .search_form .btn_search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}
#header .search_form .btn_search img {
    width: 100%;
    height: 100%;
    display: block;
}
#header .header_nav {
    margin-top: 30px;
}
#header .header_nav .logo {
    display: none;
    width: 70px;
}
#header .header_nav .site-select-button {
    float: left;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    border: solid 1px #e0e0e0;
    border-radius: 100%;
    background-color: #fff;
    display: none;
    cursor: pointer;
}
#header .header_nav .site-select-button img {
    width: 30px;
    height: 30px;
    content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_down.svg");
}
#header .header_nav .site-select-button.off img {
    content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_up.svg");
}
#header .header_nav .site-list{
    position: absolute;
    top : 63px;
    width : 420px;
    background-color: white;
    border-radius: 8px;
    padding: 27px 30px 23px 24px;
    border: solid 1px #e0e0e0;
    display: none;
    z-index: 99;
}
#header .header_nav .site-list .title{
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: left;
    color: #666;
}
#header .header_nav .site-list .site{
    display: flex;
    margin-top : 15px;
    margin-left : 10px;
    cursor: pointer;
}
#header .header_nav .site-list .site img{
    width: 70px;
}
#header .header_nav .site-list .site .site-content{
    margin-left : 30px;
}
#header .header_nav .site-list .site .site-content .site-title{
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.67;
    letter-spacing: normal;
    text-align: left;
    color: #333;
}
#header .header_nav .site-list .site .site-content .site-desc{
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.67;
    letter-spacing: normal;
    text-align: left;
    color: #666;
}
#header .header_nav .menu {
    float: left;
    /* margin-right: 60px; */
    margin-right: 5.173%;
}
#header .header_nav .menu.partition {
    margin-right: 2.6%;
}
#header .header_nav .menu > a,
#header .header_nav .menu .dropdown > button {
    display: inline-block;
    padding: 20px 0 24px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    color: #1b2a46;
}
#header .header_nav .menu.active > a {
    border-bottom: 2px solid #1b2a46;
    padding-bottom: 22px;
}
#header .header_nav .menu.partition a {
    color: #959595;
}
#header .header_nav .menu.active.partition a {
    color: #1b2a46;
}
#header .header_nav .menu .dropdown > button {
    padding-right: 24px;
    background: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_down.svg") no-repeat 100% 50%;
    border: 0;
}
#header .header_nav .category_list {
    padding: 4px;
}
#header .header_nav .category_list .category {
    padding: 20px 19px 21px;
    border-radius: 8px;
}
#header .header_utils {
    position: absolute;
    top: 37px;
    right: 20px;
}
#header .header_utils .link {
    margin-left: 40px;
    font-size: 14px;
    line-height: 1;
    color: #1b2a46;
}
#header .header_utils .link.link_mycontent {
    color: #000B27;
    border: 1px solid #6891DE;
    border-radius: 100px;
    padding: 9px 13px;
    margin-left: 100px;
}
#header .header_utils .link.link_mini {
    margin-left: 0;
    font-weight: bold;
    text-decoration: underline;
}
#header .header_utils .quick_menu {
    display: inline-block;
    top: -13px;
    margin-left: 5px;
}
#header .header_utils .quick_menu > button {
    background-color: transparent;
    border: 0;
    width: 84px;
}
#header .header_utils .quick_menu .dropdown-menu {
    width: 400px;
    left: inherit;
    right: 0;
    margin-top: 18px;
}
#header .header_utils .quick_menu .user_info {
    padding: 22px 28px;
}
#header .header_utils .quick_menu .user_info .email {
    margin-bottom: 4px;
    font-size: 14px;
    color: #898989;
}
#header .header_utils .quick_menu .user_info .nickname {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

#header .header_utils .quick_menu .user_info .link {
    float: right;
    padding: 4px 4px;
    border: solid 1px #e8e8e8;
    font-size: 10px;
    color: #898989;
}
#header .header_utils .quick_menu .menu {
    display: block;
    padding: 24px 28px 25px;
}
#header .header_utils .quick_menu .menu + .menu {
    border-top: 1px solid #ebebeb;
}
#header .header_utils .quick_menu .menu.menu-arrow {
    background: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_right_small.svg") no-repeat 91% 50%;
}
#header .header_utils .quick_menu .menu .menu_title {
    display: inline-block;
    min-width: 98px;
    font-weight: bold;
}
#header .header_utils .quick_menu .menu .menu_info {
    margin-left: 8px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.35;
}
#header .header_utils .quick_menu .menu .menu_info span {
    color: #376dd5;
}
#header .header_utils .quick_menu .menu .menu_info.empty {
    color: #a7a7a7;
}
#header .header_utils .quick_menu .menu .logout {
    font-size: 12px;
    color: #898989;
    text-decoration: underline;
}
#header .header_utils .quick_menu hr {
    margin: 0;
    border-top: 8px solid #f5f5f5;
}

#header.fixed {
    z-index: 999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: #fff;
}
#header.fixed .header_top,
#header.fixed .search_form {
    display: none;
}
#header.fixed .header_nav {
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 2px 0 3px;
}
#header.fixed .header_nav .hidden-fix {
    display: none;
}
#header.fixed .header_nav .logo {
    display: inline-block;
    margin-right: 34px;
}
#header.fixed .header_nav .site-select-button {
    display: flex;
    margin-right: 34px;
}
#header.fixed .header_nav > ul {
    flex: auto;
}
#header.fixed .header_utils {
    top: 22px;
}

#header.fixed ~ main {
    padding-top: 160px;
}

/* 상단배너 */
#banner {
    position: relative;
    color: #fff;
    background-color: #131313;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    padding: 50px 0 40px;
    margin-top: 8px;
}
#banner .banner_desc {
    position: relative;

    text-align: center;
}
#banner .banner_desc b {
    color: #406EE4;
}
#banner .banner_price {
    margin-top: 35px;
    text-align: center;
    font-size: 50px;
}
#banner .banner_price span {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    padding: 4px 24px;
    line-height: 1;
    margin-right: 5px;
    margin-left: 5px;
}
#banner .banner_price b {
    font-size: 32px;
    line-height: 80px;
}

/* 전체 페이지 스크롤바 디자인 */
body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #ffffff;
}
body::-webkit-scrollbar-thumb {
    border-radius: 3.5px;
    background-color: #ced4da;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: #adb5bd;
}
body::-webkit-scrollbar-track {
    background: #ffffff;
}

/* 카테고리명과 작가명 커서 포인트 추가 */
.category-name-search, .instructor-name-search, .category-menu-search {
    cursor: pointer;
}

.thumb {
    position: relative;
}
.badge-group {
    margin-top: 12px;
    line-height: 160%;
    white-space: normal;
}
.badge-group span {
    font-size: 14px;
    font-family: Montserrat;
    font-weight: 700;
    text-align: center;
    padding: 2px 5px;
    border-radius: 3px;
    width: max-content;
    word-break: keep-all;
}
.badge-group span.badge-group-premium {
    color: #8A5F17;
    border: 1px solid #8A5F17;
}
.badge-group span.badge-group-pdf, .badge-group span.badge-group-vod, .badge-group span.badge-group-challenge {
    color: #FF6A00;
    border: 1px solid #FF6A00;
}
.badge-group span.badge-group-update {
    color: #fff;
    background: #376DD5;
    border: 1px solid #376DD5;
}
.badge-group span.badge-group-new {
    color: #fff;
    background: #FF4D4D;
    border: 1px solid #FF4D4D;
}

/* 검색 오버레이 */
.search-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    /* 상단은 흰색, 하단으로 갈수록 투명해져서 배경이 보이도록 */
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0.6) 75%, rgba(255,255,255,0.0) 100%);
}
.search-overlay.active { display: block; }
.search-overlay .overlay-inner {
    position: relative;
    max-width: 860px;
    margin: 36px auto 0;
    padding: 0 20px;
}
.search-overlay .overlay-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.search-overlay .overlay-close img { width: 28px; height: 28px; display: block; }
.search-overlay .search-panel {
    position: relative;
    padding: 0;
    background: transparent;
}
.search-overlay .search-bar {
    position: relative;
    display: block;
    background-color: #f5f5f7;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 8px 12px 8px 36px;
}
.search-overlay .search-bar .btn_search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
}
.search-overlay .search-bar .btn_search img { width: 100%; height: 100%; display: block; }
.search-overlay .search-bar .keyword {
    width: 100%;
    border: 0;
    outline: none;
    font-size: 14px;
    line-height: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
}
/* 추천 키워드 컨테이너(선택사항) */
.search-overlay .suggestions {
    margin-top: 14px;
    text-align: center;
}
.search-overlay .suggestions .label { font-size: 14px; color: #666; margin-bottom: 8px; }
.search-overlay .chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px;}
.search-overlay .chip { padding: 8px 14px; border: 1px solid #e0e0e0; border-radius: 999px; background: #f1f3f5; font-size: 13px; color: #333; cursor: pointer;}

/* 오버레이가 열렸을 때 바디 스크롤 잠금 */
body.search-overlay-open { overflow: hidden; }

@media (min-width: 768px) and (max-width: 991px) {
    #header .header_utils .link {
        margin-left: 12px
    }
    #header.fixed .header_utils .link.fixed_tablet_hidden {
        display: none;
    }

    /* 상단배너 */
    #banner {
        padding: 33px 0 43px;
    }
    #banner .banner_price {
        margin-top: 30px;
        text-align: center;
        font-size: 26px;
    }
    #banner .banner_price span {
        border-radius: 6px;
        padding: 5px 15px;
        margin-right: 5px;
        margin-left: 5px;
    }
    #banner .banner_price b {
        font-size: 18px;
        line-height: 28px;
    }
}

@media screen and (max-width: 767px) {
    /* 상단배너 */
    #banner {
        margin-top: 12px;
        padding: 30px 0 28px;
    }
    #banner .banner_price {
        margin-top: 20px;
        text-align: center;
        font-size: 22px;
    }
    #banner .banner_price span {
        border-radius: 4px;
        padding: 1px 7px;
        margin-right: 2px;
        margin-left: 2px;
    }
    #banner .banner_price b {
        font-size: 18px;
        line-height: 28px;
    }

    /* header */
    #header .header_nav {
        margin: 0 -20px;
    }
    #header .header_nav .menu {
        /*width: 17%;
        margin-right: 0;*/
        text-align: center;
    }
    #header .header_nav .menu:first-child {
        margin-left: 20px;
    }
    #header .header_nav .menu > a,
    #header .header_nav .menu .dropdown > button {
        padding: 14px 0;
        font-size: 14px;
    }
    #header .header_nav .menu.active > a {
        padding-bottom: 12px;
    }
    #header .header_nav .menu .dropdown > button {
        padding-right: 28px;
    }

    #header .header_nav .category_list .category {
        font-size: 14px;
    }

    #header .mb-header_top {
        padding: 11px 0;
    }
    #header .mb-header_top .logo {
        width: 58px;
        /*margin: 0 0 0 20px;*/
        text-align: left;
    }
    #header .mb-header_top a {
        width: 58px;
    }
    #header .mb-header_top a.link_mini {
        width: auto;
        position: absolute;
        top: 22px;
        right: 58px;
        font-size: 12px;
        text-decoration: underline;
        color: #1b2a46;
    }
    #header .mb-header_top .site-select-button {
        float: left;
        margin-top: 7px;
        margin-left: 5px;
        width: 24px;
        height: 24px;
        vertical-align: middle;
        /* padding: 15px 12px 20px 13px; */
        border: solid 1px #e0e0e0;
        border-radius: 100%;
        background-color: #fff;
        display: flex;
        cursor: pointer;
    }

    #header .mb-header_top .site-select-button img {
        content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_down.svg");
    }

    #header .mb-header_top .site-select-button.off img {
        content: url("https://cdn.pudufu.co.kr/assets/icon/ico_arrow_up.svg");
    }

    #header .mb-header_top .site-list{
        top: 45px;
        left : 0px;
        position: absolute;
        width : 100%;
        background-color: white;
        border-radius: 8px;
        padding: 27px 30px 23px 24px;
        border: solid 1px #e0e0e0;
        z-index: 100;
        display: none;
    }

    #header .mb-header_top .site-list .title{
        font-size: 12px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.67;
        letter-spacing: normal;
        text-align: left;
        margin-bottom: 10px;
        color: #666;
    }

    #header .mb-header_top .site-list .btn-close{
        position: absolute;
        top : 26px;
        right : 20px;
        width: 20px;
        height: 20px;
        background-color: #fff;
        border: none;
        cursor: pointer;
    }

    #header .mb-header_top .site-list .site{
        cursor: pointer;
        display: flex;
        width: 100%;
    }

    #header .mb-header_top .site-list .site img{
        height: 30px;
        margin-top: 6px;
    }

    #header .mb-header_top .site-list .site .site-content{
        padding-left : 13px;
        display: inline-block;
    }

    #header .mb-header_top .site-list .site .site-content .site-title{
        font-size: 12px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.67;
        letter-spacing: normal;
        text-align: left;
        color: #333;
    }

    #header .mb-header_top .site-list .site .site-content .site-desc{
        font-size: 12px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.67;
        letter-spacing: normal;
        text-align: left;
        color: #666;
    }

	/* 모바일 헤더 로그인 버튼 */
	#header .mb-header_top .btn_menu_login {
		position: absolute;
		top: 17px;
		right: 20px;
		padding: 5px 10px;
		font-size: 12px;
		color: #615858;
		border: 1px solid #BDBDBD;
		border-radius: 8px;
		background-color: #fff;
	}

    #header .mb-header_top .btn_menu,
    #header .mb-header_top .btn_search {
        position: absolute;
        top: 17px;
        background-color: transparent;
        border: 0;
        cursor: pointer;
    }
    #header .mb-header_top .btn_menu {
        right: 60px;
    }
    #header .mb-header_top .btn_search {
        right: 90px;
    }

    #header .mb-header_top .search_form {
        display: none;
        position: absolute;
        background-color: #f5f5f7;
        top: 17px;
        right: 20px;
        transition: right 0.25s ease-in-out;
        width: calc(100%/2);
        margin-left: 0;
        border: 1px solid #e0e0e0;
        border-radius: 999px;
        padding: 6px 10px 6px 32px;
    }
    #header .mb-header_top.search-open > button.btn_search {
        display: none;
    }
    #header .mb-header_top.search-open .search_form {
        display: block;
    }
    #header .mb-header_top.search-open .search_form .keyword {
        width: 100%;
        font-size: 12px;
        line-height: 22px;
        height: 22px;
        padding: 0;
        background-color: transparent;
        outline: none;
    }
    #header .mb-header_top.search-open .search_form .btn_search {
        left: 10px;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
    }
    #header .mb-header_top.search-open .logo {
        display: inline-block;
        margin: 0 0 0 40px;
    }
    #header .mb-header_top.search-open a.link_mini {
        display: none;
    }

    #header.fixed .header_nav {
        display: none;
    }

    #header.fixed ~ main {
        padding-top: 99px;
    }

    #sidemenu {
        z-index: 1000;
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        width: 85%;
        height: 100%;
        padding: 35px 0 60px;
        background-color: #fff;
        transition: right 0.25s ease-in-out;
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    #sidemenu.open {
        right: 0;
        z-index: 99999;
    }
    #sidemenu .intro {
        line-height: 1.6;
    }
    #sidemenu .intro b {
        font-size: 20px;
        display: block;
    }
    #sidemenu .links {
        margin-top: 32px;
    }
    #sidemenu .links + .links {
        margin-top: 24px;
    }
    #sidemenu .links .btn {
        width: 48.125%;
        font-size: 15px;
        font-weight: 700;
        line-height: 38px;
        background-color: #1b2a47;
        color: #fff;
        border-width: 1px;
    }
    #sidemenu .links .btn.first_timer {
        width: 100%;
        background-color: #6496FA;
    }
    #sidemenu .recent_ebook {
        margin: 30px -20px 0;
        padding: 20px 20px 31px;
        background-color: #f2f5fc;
    }
    #sidemenu .recent_ebook .title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        color: #1b2a46;
    }
    #sidemenu .recent_ebook .item {
        position: relative;
        margin-top: 14px;
    }
    #sidemenu .recent_ebook .item .thumb {
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        padding: 10px 15px 9px 14px;
        border-radius: 4px;
        background-color: #fff;
    }
    #sidemenu .recent_ebook .item .thumb img {
        width: 51px;
        height: 81px;
        object-fit: cover;
    }
    #sidemenu .recent_ebook .item .content {
        padding-left: 90px;
    }
    #sidemenu .recent_ebook .item .content .category {
        font-size: 11px;
        font-weight: 900;
        color: #376dd5;
    }
    #sidemenu .recent_ebook .item .content .title {
        margin-top: 6px;
        font-size: 16px;
        font-weight: 900;
        color: #1b2a46;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #sidemenu .recent_ebook .item .content .progress-wrap {
        margin-top: 18px;
        max-width: calc(100% - 46px);
    }
    #sidemenu .recent_ebook .item .content .progress-wrap .progress {
        background-color: #fff;
    }
    #sidemenu .recent_ebook .item .content .btn_wrap {
        margin: 14px 0 0;
        font-size: 0;
        overflow: auto;
    }
    #sidemenu .recent_ebook .item .content .btn_wrap .btn {
        width: 60%;
        border-radius: 4px;
        font-size: 11px;
        line-height: 26px;
        color: #fff;
        background-color: #1d4289 !important;
        border-color: #1d4289 !important;
        box-shadow: none;
        border-width: 1px;
    }
    #sidemenu .recent_ebook .item .content .btn_wrap .btn + .btn {
        margin-left: 2%;
        width: 38%;
        color: #375690 !important;
        background-color: #fff !important;
        border-color: #375690 !important;
    }
    /* 사이드메뉴 */
    #sidemenu .menu_list {
        padding-top: 20px;
    }
    #sidemenu .side_menu_list + .menu_list {
        padding-top: 40px;
        margin-bottom: 60px;
    }
    #sidemenu .side_menu_list {
        margin: 40px -20px 0;
    }
    #sidemenu .side_menu_list > ul > li {
        position: relative;
        padding-bottom: 20px;
    }
    #sidemenu .side_menu_list > ul > li:last-child{
        padding-bottom: 0;
    }
    #sidemenu .side_menu_list .menu_title {
        display: flex;
        align-items: self-end;
        gap: 8px;
        padding-left: 20px;
        padding-top: 5px;
        border-left: solid 2px #fff;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
    }
    #sidemenu .side_menu_list .menu_title.active {
        color: #6496FA;
        border-left: solid 2px #6496FA;
    }
    #sidemenu .side_menu_list .menu_title > span {
        content: "";
        position: absolute;
        width: 25px;
        height: 25px;
        left:20px;
        top: 2px;
        background-repeat: no-repeat;
    }
    #sidemenu .side_menu_list .menu_title > .btn_menu_dropdown {
        position: absolute;
        width: 24px;
        height: 24px;
        right: 20px;
        border : none;
        background-color: transparent;
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_arrow_down.svg");
        background-repeat: no-repeat;
    }
    #sidemenu .side_menu_list > ul > li:not(:first-child) .menu_title.active > .btn_menu_dropdown {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_arrow_down_active.svg");
    }
    #sidemenu .side_menu_list > ul > li:first-child .menu_title > .btn_menu_dropdown {
        transform: rotate(-90deg);
    }
    /* 사이드메뉴 타이틀 아이콘 정의 */
    #sidemenu .side_menu_list .icon-sidemenu-premium {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_pm.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-premium {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_pm_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-category {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_cg.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-category {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_cg_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-subscription {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_sc.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-subscription {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_sc_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-mini {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_mini.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-mini {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_mini_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-vod {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_vod.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-vod {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_vod_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-review {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_review.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-review {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_review_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-assignment {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_assignment.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-assignment {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_assignment_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-mission {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_mission.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-mission {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_mission_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-challenge {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_challenge.svg");
    }
    #sidemenu .side_menu_list .menu_title.active .icon-sidemenu-challenge {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_challenge_active.svg");
    }
    #sidemenu .side_menu_list .menu_title .icon-sidemenu-ai_community {
        background-image: url("https://cdn.pudufu.co.kr/assets/icon/ico_sidemenu_ai_community.svg");
    }

    #sidemenu .side_menu_list > ul > li > ul {
        padding: 17px 20px 0;
        display: none;
    }
    #sidemenu .side_menu_list ul li ul li {
        position: relative;
        padding-bottom: 6px;
    }
    #sidemenu .side_menu_list ul li ul li:before {
        content: "";
        position: absolute;
        bottom: 7px;
        left: 0;
        width: 2px;
        height: 100%;
    }
    #sidemenu .side_menu_list ul li ul li > a {
        display: block;
        width: 100%;
        border : 1px solid #ececec;
        border-radius: 4px;
        padding-left: 13px;
        line-height: 38px;
        font-size: 15px;
    }
    #sidemenu .side_menu_list ul li ul li > a.add-background {
        background-color: #6496FA;
        color: #fff;
    }
    #sidemenu .side_menu_list ul li ul li > a:hover {
        background-color: #F2F5FC;
        border-color: #F2F5FC;
        color: #000;
    }
    #sidemenu .menu_list ul {
        display: flex;
        flex-wrap: wrap;
        margin: -5px -6px;
    }
    #sidemenu .menu_list ul li {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 5px 6px;
    }
    #sidemenu .menu_list .other_links {
        margin-top: -4px;
        margin-bottom: -4px;
    }
    #sidemenu .menu_list .other_links > li {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    #sidemenu .menu_list .other_links > li .btn {
        width: 100%;
        background-color: #f2f5fc;
        line-height: 38px;
        color: #1b2a46;
        border-width: 1px;
    }
    #sidemenu .btn_close {
        position: absolute;
        top: 40px;
        right: 20px;
        background-color: transparent;
        border: 0;
    }
    .sidemenu-bg {
        z-index: 999;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color:#212121;
        opacity: 0.5;
        display: none;
    }
    #sidemenu .footer_links {
        position: absolute;
        bottom: 0;
        left: 20px;
        right: 20px;
        margin-top: 0;
    }
    #sidemenu .footer_links.footer_outer_links {
        bottom: 20px;
    }
    #sidemenu .footer_links.footer_link_none {
        display: none;
    }
    #sidemenu .footer_links a.btn {
        width: 100%;
        background: none;
        color: #999;
        font-size: 11px;
        text-decoration: underline;
    }

    .badge-group {
        margin-top: 4px;
    }

    .badge-group span {
        font-size: 11px;
    }

    /* 사이드 메뉴 스크롤바 디자인 */
    #sidemenu::-webkit-scrollbar {
        display: none;
    }
}

/* 모바일 하단 네비게이션 */
#mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}
#mobile-bottom-nav ul {
    margin: 0;
    padding: 6px 0 calc(env(safe-area-inset-bottom) + 6px);
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#mobile-bottom-nav li { flex: 1 1 25%; text-align: center; }
#mobile-bottom-nav a,
#mobile-bottom-nav button {
    background: transparent;
    border: 0;
    width: 100%;
    padding: 6px 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #1b2a46;
    font-size: 11px;
    text-decoration: none;
}
#mobile-bottom-nav .nav-text { color: #959595; line-height: 1; }
#mobile-bottom-nav .icon { display: inline-block; width: 22px; height: 22px; }
#mobile-bottom-nav img.icon { width: 22px; height: 22px; display: block; }
/* 아이콘 간이 플레이스홀더 (필요 시 실제 SVG로 대체) */
/* #mobile-bottom-nav li:nth-child(1) .icon { } */
/* 아이콘은 img 태그로 렌더링합니다. 배경 이미지는 사용하지 않습니다. */

/* 모바일일 때만 표시 */
@media screen and (min-width: 768px) {
    #mobile-bottom-nav { display: none; }
}

/* 모바일 main 하단 여백 보정 (하단 네비 높이 + 안전영역) */
@media screen and (max-width: 767px) {
    main#wrap,
    main.viewer_wrap,
    main.main_wrap,
    main.sub_wrap,
    main.login_wrap,
    main.error_wrap {
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
}
