/* =========================================
   MAIN BANNER
========================================= */

.main-banner {
    position: relative;
    overflow: hidden;

    width: 100%;
    min-height: 308px; /*380px*/
    padding: 0;

    background: #fff;
}

.main-banner::before {
    content: "";
    display: block;

    width: 100%;
    aspect-ratio: 1200 / 308; /*aspect-ratio: 1180 / 380;*/

    background: url('/r/images/ban_main.png') center center / contain no-repeat;
}

.banner-content {
    position: relative;
    z-index: 2;
}


/* =========================================
   HERO - MAIN IMAGE AREA
========================================= */

.hero {
    height: 420px;

    display: flex;
    justify-content: center;

    background: #fbfaf8;
}

.hero-inner {
    width: 100%;
    height: 100%;

    background: url('/v1/images/hero-all.png') no-repeat calc(50% + 40px) center;
    background-size: contain;
}


/* =========================================
   KPI
========================================= */

.kpi {
    position: relative;
    z-index: 10;

    margin-top: -5px;
}

.kpi-box {
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    background: linear-gradient(90deg, #01132a, #02142a);
    border-radius: 20px;

    color: #fff;
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 15px;
}

.kpi-icon {
    width: 64px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.kpi-icon img {
    width: 58px;
    height: 54px;
}

.kpi-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kpi-text strong {
    font-size: 24px;
    font-weight: 700;
}


/* =========================================
   SECTION COMMON
========================================= */

.section {
    overflow: hidden;

    margin-top: 40px;
    margin-bottom: 18px;
    padding: 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 12px;
}

.section-title h2 {
    margin: 0;

    color: #08275b;
    font-size: 23px;
    letter-spacing: -.6px;
}

.section-title h2 i {
    font-style: normal;
}

.section-title p {
    margin: 5px 0 0;

    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.more-link {
    color: #243752;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}


/* =========================================
   DEADLINE AUCTION ROLLING
========================================= */

.deadline-shell {
    position: relative;
}

.deadline-viewport {
    overflow: hidden;
    width: 100%;
}

.deadline-track {
    display: flex;
    gap: 10px;

    transition: transform .38s ease;
    will-change: transform;
}

.roll-btn {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);

    color: #0f3268;
    font-size: 22px;

    transform: translateY(-50%);
}

.roll-prev {
    left: -13px;
}

.roll-next {
    right: -13px;
}


/* =========================================
   AUCTION CARD
========================================= */

.auction-card {
    flex: 0 0 calc((100% - 50px) / 6);

    overflow: hidden;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .05);

    transition: .18s;
}

.auction-card:hover {
    background: #f8fbff;
    border-color: #cfe0ff;

    transform: translateY(-2px);

    box-shadow: 0 12px 24px rgba(0, 59, 136, .10);
}

.auction-thumb {
    position: relative;
    overflow: hidden;

    height: 124px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f6fa;
}

.auction-thumb img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;
}

.time-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;

    padding: 5px 7px;

    background: #ef2f1f;
    border-radius: 5px;

    color: #fff;
    font-size: 11px;
    font-weight: 1000;
}

.auction-body {
    padding: 11px;
}

.auction-body h3 {
    overflow: hidden;

    height: 34px;
    margin: 0 0 8px;

    font-size: 13px;
    line-height: 1.35;
}

.auction-body p {
    margin: 0 0 4px;

    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.auction-body b {
    color: var(--blue);
    font-size: 15px;
}

.auction-body span {
    display: block;

    margin-top: 6px;

    color: #334155;
    font-size: 11px;
    font-weight: 900;
}


/* =========================================
   PANELS
========================================= */

.main_panels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.18fr;
    gap: 12px;

    margin-bottom: 20px;
    padding: 0;
}

.main_panel {
    min-width: 0;
    min-height: 260px;
    padding: 14px;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.main_panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 12px;
}

.main_panel h3 {
    margin: 0 0 4px;

    color: #063170;
    font-size: 18px;
}

.main_panel small {
    color: #64748b;
    font-weight: 900;
}

.main_panel .more {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}


/* =========================================
   MINI LIST
========================================= */

.mini-list,
.rank-list,
.schedule-list {
    display: grid;
    gap: 10px;
}

.mini,
.rank {
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;

    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 10px;
}

.mini-thumb {
    position: relative;
    overflow: hidden;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    background: #eef2f7;
    border-radius: 8px;
}

.mini-thumb img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.new {
    position: absolute;
    left: 0;
    top: 0;

    padding: 2px 4px;

    background: #ff6b00;
    color: #ffffff;
    border-radius: 0 0 4px 0;

    font-size: 9px;
    font-weight: 1000;
}

.mini b {
    display: block;
    overflow: hidden;

    margin-bottom: 3px;

    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini span {
    display: block;

    color: #0759c9;
    font-size: 12px;
    font-weight: 900;
}

.mini em {
    color: #64748b;
    font-size: 11px;
    font-style: normal;
}


/* =========================================
   RANK LIST
========================================= */

.rank {
    min-width: 0;

    display: grid;
    grid-template-columns: 22px 48px 1fr;
    align-items: center;
    gap: 8px;
}

.rank-num {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    background: #0f3268;
    border-radius: 5px;

    color: #fff;
    font-size: 12px;
    font-weight: 1000;
}

.rank img {
    width: 48px;
    height: 42px;

    background: #eef2f7;
    border-radius: 7px;

    object-fit: cover;
}

.rank b {
    display: block;
    overflow: hidden;

    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rank span {
    display: block;

    color: #64748b;
    font-size: 11px;
}


/* =========================================
   SCHEDULE LIST
========================================= */

.schedule {
    display: grid;
    grid-template-columns: 64px 1fr 72px;
    align-items: center;
    gap: 10px;

    padding-bottom: 10px;

    border-bottom: 1px solid #edf2f7;
}

.schedule:last-child {
    border-bottom: 0;
}

.date {
    padding: 8px 4px;

    background: #fff4e5;
    border-radius: 9px;

    color: #ef5a24;
    font-weight: 1000;
    text-align: center;
}

.date.blue {
    background: #eef4ff;
    color: #095bd8;
}

.date strong {
    display: block;
    font-size: 16px;
}

.date span {
    font-size: 12px;
}

.schedule b {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;
}

.schedule small {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.schedule button {
    height: 36px;

    background: #f3f4f6;
    border: 0;
    border-radius: 8px;

    color: #111827;
    font-weight: 900;
}


/* =========================================
   PARTNERS
========================================= */
.partners {
    margin: 24px 0;
    padding: 16px 22px;

    align-items: center;

    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
   
    display:flex;
    align-items:center;
    gap:34px;
    overflow:hidden;
}

.partners-title{
    flex:0 0 170px;
    position:relative;
    z-index:2;
    background:#fff;
}

.partners-title b{
    display:block;
    font-size:22px;
    line-height:1.35;
    color:#111827;
}

.partners-mask{
    flex:1;
    overflow:hidden;
    min-width:0;
}

.partners-track{
    display:flex;
    align-items:center;
    gap:50px;
    width:max-content;
    will-change:transform;

    white-space:nowrap;
    
    justify-content: space-between;

    color: #12376e;
    font-weight: 1000;
}

.partners-track img{
    height:20px;
    width:auto;
    flex-shrink:0;
}

.partners-track img:hover{
    opacity:1;
}

.partners b {
    color: #063170;
    font-size: 17px;
    line-height: 1.5;
}

.partners-track span {
    font-size: 18px;
    white-space: nowrap;
	/*border:1px solid #bebebe;
	border-radius:10px;
	padding:10px 20px;;*/
}

@media (max-width:1024px){
    .partners{
        gap:20px;
    }
    .partners-title{
        flex:0 0 170px;
    }
    .partners-title b{
        font-size:18px;
    }
    .partners-track{
        gap:40px;
    }
    .partners-track img{
        height:45px;
    }
}

@media (max-width:768px){
    .partners{
        display:block;
        padding:20px 0;
    }
    .partners-title{
        width:100%;
        margin-bottom:18px;
        text-align:center;
    }
    .partners-title b{
        font-size:20px;
        line-height:1.5;
    }
    .partners-mask{
        width:100%;
        overflow:hidden;
    }
    .partners-track{
        gap:28px;
    }
    .partners-track img{
        height:34px;
    }
}

@media (max-width:480px){
    .partners-title b{
        font-size:18px;
    }
    .partners-track{
        gap:20px;
    }
    .partners-track img{
        height:28px;
    }
}


/* =========================================
   WHY LEENC
========================================= */

.why {
    margin: 24px 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.why h2 {
    margin: 0 0 20px;
    color: #063170;
    font-size: 22px;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.why-item {
    padding: 6px 12px;
    border-right: 1px solid #edf2f7;
    text-align: center;
}

.why-item:last-child {
    border-right: 0;
}

.why-item i {
    color: #063170;
    font-size: 36px;
    font-style: normal;
}

.why-item b {
    display: block;
    margin: 10px 0 6px;
    font-size: 16px;
}

.why-item p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.why-item img {
    width:60px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .header-top {
        height: auto;
        padding: 16px;

        grid-template-columns: 1fr;
        gap: 12px;
    }

    .logo {
        justify-content: space-between;
    }

    .search {
        width: 100%;
    }

    .user-links {
        justify-content: flex-start;
    }

    .gnb {
        overflow: visible;
    }

    .all-menu {
        width: 150px;
        flex: 0 0 150px;
        padding-left: 16px;
    }

    .nav {
        justify-content: flex-start;
        gap: 28px;
        overflow: auto;
        padding: 0 16px;
    }

    .category-dropdown {
        padding: 16px;
    }

    .dropdown-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: 14px 16px 0;
    }

    .hero-box {
        height: 330px;
    }

    .hero-bg {
        object-position: 64% center;
    }

    .hero-box::after {
        background: linear-gradient(
            90deg,
            rgba(234, 246, 255, .96),
            rgba(247, 251, 255, .72) 52%,
            rgba(247, 251, 255, .05)
        );
    }

    .hero-copy {
        left: 18px;
        top: 20px;
        width: 66%;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .hero-icons {
        display: none;
    }

    .stat-bar {
        grid-template-columns: 1fr 1fr;
        margin: 0;
        padding: 8px;
        border-radius: 10px;
    }

    .stat {
        padding: 12px;
        border-right: 0;
    }

    .stat i {
        font-size: 28px;
    }

    .categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;

        margin: 16px;
        padding: 14px;
    }

    .auction-card {
        flex-basis: calc((100% - 10px) / 2);
    }

    .auction-thumb {
        height: 150px;
    }

    .roll-prev {
        left: -6px;
    }

    .roll-next {
        right: -6px;
    }

    .main_panels {
        grid-template-columns: 1fr;

        /*margin: 0 16px 18px;*/
		margin: 0;
        padding: 0;
    }

    .partners,
    .why {
        /*margin-left: 16px;
        margin-right: 16px;*/
		margin: 24px 0;
		padding: 22px;
    }

    .partners {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .logos {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        border-right: 0;
        border-bottom: 1px solid #edf2f7;
    }

    .why-item:last-child {
        border-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .copyright {
        display: block;
        line-height: 1.8;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
    .main-banner {
        height: 220px;
        min-height: 220px;
        margin-bottom: 0;
    }

    .main-banner::before {
        content: "";
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        background: url('/r/images/ban_main.png') left center / cover no-repeat;
    }

    .banner-content {
        display: none;
    }

    main {
        padding: 28px 16px 42px;
    }

    .hero {
        height: 220px;
    }

    .hero-inner {
        background-position: 10px center;
        background-size: cover;
    }

    .kpi {
        margin-top: 0;
    }

    .kpi-box {
        flex-direction: column;
        gap: 12px;

        padding: 5px 40px;
    }

    .kpi-item {
        justify-content: space-between;
        padding-bottom: 10px;

        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .kpi-item:last-child {
        border-bottom: 0;
    }

    .kpi-icon img {
        width: 32px;
        height: 34px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .logo span {
        font-size: 11px;
    }

    .user-links a {
        height: 34px;
        padding: 0 13px;

        font-size: 13px;
    }

    .all-menu {
        width: 138px;
        flex-basis: 138px;

        font-size: 13px;
    }

    .nav {
        font-size: 14px;
    }

    .dropdown-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-box {
        height: 300px;
    }

    .hero-copy {
        width: 78%;
    }

    .hero-copy .script {
        font-size: 20px;
    }

    .hero-copy .script b {
        font-size: 16px;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-bg {
        object-position: 72% center;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .auction-card {
        flex-basis: 100%;
    }

    .stat-bar {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
    }

    .partners {
        padding: 16px;
    }

    .schedule {
        grid-template-columns: 58px 1fr;
    }

    .schedule button {
        grid-column: 2;
    }
}

/* =========================================
   DEADLINE MODAL
========================================= */
body.menu-open {
    overflow: hidden;
}

.deadline-modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 40px 16px;
    background: rgba(15, 23, 42, .62);
}

.deadline-modal-bg.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.deadline-modal {
    width: min(1080px, 100%);
    max-height: calc(100vh - 80px);
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    padding: 26px 32px 22px;
}

.deadline-modal-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dfe5ee;
}

.deadline-modal-head h2 {
    margin: 0 0 10px;
    color: #001f52;
    font-size: 26px;
    letter-spacing: -.6px;
}

.deadline-timer {
    display: flex;
    align-items: center;
    gap: 22px;
}

.deadline-timer span,
.d-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 9px;
    border-radius: 999px;
    background: #f20d18;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.deadline-timer strong {
    color: #001f52;
    font-size: 22px;
    letter-spacing: 2px;
}

.deadline-close {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #334155;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.deadline-filter {
    display: grid;
    /*grid-template-columns: 240px 160px 1fr 84px;*/
	grid-template-columns: 240px 160px 1fr;
    gap: 14px;
    margin: 22px 0 24px;
}

.deadline-filter select,
.deadline-filter input,
.sort-btn {
    height: 44px;
    border: 1px solid #d5dbe5;
    border-radius: 6px;
    background: #fff;
    padding: 0 14px;
    color: #111827;
    font-weight: 700;
}

.deadline-search {
    display: grid;
    grid-template-columns: 1fr 48px;
}

.deadline-search input {
    border-radius: 6px 0 0 6px;
    border-right: 0;
}

.deadline-search button {
    border: 1px solid #d5dbe5;
    border-radius: 0 6px 6px 0;
    background: #fff;
    color: #001f52;
    font-size: 22px;
    cursor: pointer;
}

.deadline-table-wrap {
    overflow: auto;
}

.deadline-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
}

.deadline-table th {
    height: 42px;
    background: #f8fafc;
    border-top: 1px solid #e5eaf2;
    border-bottom: 1px solid #e5eaf2;
    color: #1f2d4d;
    font-size: 13px;
    font-weight: 900;
}

.deadline-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #edf1f6;
    text-align: center;
    color: #111827;
    font-size: 14px;
}

.deadline-table .item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-weight: 800;
    line-height: 1.55;
}

.deadline-table .item img {
    width: 64px;
    height: 56px;
    object-fit: cover;
    border: 1px solid #e5eaf2;
    border-radius: 7px;
}

.deadline-table .item em {
    display: inline-flex;
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #003b88;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.deadline-table .item em.auction {
    background: #f20d18;
}

.deadline-table .price {
    color: #003b88;
    font-weight: 900;
}

.deadline-modal-foot {
    display: grid;
    grid-template-columns: 120px 1fr 140px;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: #6b7280;
    font-size: 13px;
}

.modal-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.modal-pager a {
    width: 30px;
    height: 30px;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-weight: 900;
}

.modal-pager a.active {
    background: #003b88;
    border-color: #003b88;
    color: #fff;
}

.deadline-modal-foot select {
    height: 36px;
    border: 1px solid #d5dbe5;
    border-radius: 6px;
    padding: 0 10px;
}

.modal-close-btn {
    width: 420px;
    max-width: 100%;
    height: 42px;
    margin: 22px auto 0;
    display: block;
    border: 1px solid #d5dbe5;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 768px) {
    .deadline-modal-bg {
        padding: 0;
    }

    .deadline-modal {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        padding: 22px 16px;
    }

    .deadline-filter {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .deadline-modal-foot {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-pager {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }
}