.main-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0 50px;
}

.quick-links {
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    margin-bottom: 5px;
    background: #fff;
}

.quick-links a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 20px;
}

.banner-grid a {
    display: block;
    height: auto;
    background: none;
    border: 0;
    line-height: normal;
    font-size: 0;
    text-decoration: none;
}

.banner-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.rank-box {
    background: #fff;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    min-height: 260px;
}

.rank-title {
    padding: 14px 18px;
    font-size: 17px;
    font-weight: 900;
    border-bottom: 1px solid #eee;
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 15px 20px;
}

.rank-list li {
    margin-bottom: 11px;
    font-size: 14px;
}

.rank-list a {
    color: #111;
    text-decoration: none;
    font-weight: bold;
}

.rank-list a:hover {
    color: #e6002d;
}

.rank-num {
    color: #e6002d;
    font-weight: bold;
    margin-right: 6px;
}

.bottom-banners {
    margin-top: 15px;
}

.bottom-banners a {
    display: block;
    height: auto;
    margin-bottom: 4px;
    background: none;
    font-size: 0;
    text-decoration: none;
}

.bottom-banners img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .main-wrap {
        padding: 10px 0 40px;
    }

    .quick-links {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 12px;
    }

   .banner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

    .rank-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-box {
        min-height: 240px;
    }

    .rank-title {
        font-size: 16px;
        padding: 12px;
    }

    .rank-list {
        padding: 12px;
    }

    .rank-list li {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .rank-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-title {
        font-size: 15px;
        padding: 11px 8px;
    }

    .rank-list {
        padding: 10px 8px;
    }

    .rank-list li {
        font-size: 13px;
        margin-bottom: 9px;
    }

    .rank-num {
        margin-right: 4px;
    }
}
.rank-grid *{
    font-size:22px !important;
    font-weight:900 !important;
}

.rank-grid .rank-title{
    font-size:30px !important;
}

.rank-grid .rank-num{
    font-size:24px !important;
    color:#ff3366 !important;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.main-wrap {
    width: 100%;
    max-width: 1080px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.banner-grid {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.banner-grid img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.rank-grid {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.rank-box {
    min-width: 0;
}

.rank-list {
    overflow-wrap: break-word;
}
@media (max-width:768px){
    html, body{
        width:100% !important;
        overflow-x:hidden !important;
    }

    .main-wrap{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        padding:0 !important;
        overflow:hidden !important;
    }

    .top-ad-banner,
    .top-ad-banner a,
    .top-ad-banner img{
        width:100% !important;
        max-width:100% !important;
        display:block !important;
    }

    .top-ad-banner img{
        height:auto !important;
    }

    .banner-grid{
        width:100% !important;
        max-width:100% !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        overflow:hidden !important;
    }

    .banner-grid img{
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        display:block !important;
    }
}
.gnb_menu_btn,
.gnb_menu_btn_wrap{
    display:none !important;
}
.right-login{
    position:fixed !important;
    right:30px !important;
    top:220px !important;
    width:240px !important;
    z-index:9999 !important;
}