@font-face {
    font-family: 'SeoulHangangB';
    src: url("/static/fonts/SeoulHangangB.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'SeoulHangangEB';
    src: url("/static/fonts/SeoulHangangEB.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'SeoulHangangL';
    src: url("/static/fonts/SeoulHangangL.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'SeoulHangangM';
    src: url("/static/fonts/SeoulHangangM.ttf") format('truetype');
    font-weight: normal;
    font-size: normal;
}
@font-face {
    font-family: 'DanjoBoldRegular';
    src: url("/static/fonts/Danjo-bold-Regular.otf") format('opentype');
    font-weight: normal;
    font-size: normal;
}

#itemAmount_Wraaper { padding: 0 1rem;}

.moneyStatusWrap {   
    width: 100%;
    height: 126px;

    border-top: 1px solid #A3A3A3;
    border-bottom: 1px solid #A3A3A3;

    margin-top: 3rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
.moneyStatusTitle {
    position: relative;
    height: 100%;
    width: auto;
    
    padding-left: 4rem;
}
.moneyStatusTitle img {
    position: absolute;
    top: 0;
    left: 0;    
}

.titleMoney {
    height: 100%;

    display: flex;
    justify-content: center;
    flex-direction: column;
}
.titleMoney * { font-family: 'SeoulHangangEB', sans-serif; }
.titleMoney h1 { font-weight: 500;}
.titleMoney h3 { color:#B94300; font-weight:500; padding-left: 0.2rem; }

.moneyStatusShow {
    padding-right: 3rem;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.statusAllAmount, .statusActiveAmount {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.moneyTag, .moneyAmount { font-size: 30px; } 
.moneyTag { 
    color: #CF9D80; 
    font-weight: bold; 
    font-family: "DanjoBoldRegular", sans-serif; 
}


.LegendaryItemWrap { width: 100%; }

.LegendaryItemWrapHeader {   
    width: 100%;
    margin-top: 3rem;
    background: #000000;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.LegendaryItemWrapHeader * { font-family: 'SeoulHangangEB', sans-serif; }

.LegendaryItemTitle { padding-left: 4rem; }
.LegendaryItemTitle h1 { color: #FFFFFF; font-weight: 500; }
.LegendaryItemTitle h3 {     
    font-weight:500;
    color: #DEA780;    

    padding-left: 0.2rem;    
}

.LegendaryTabs {
    display: flex;    
}
.LegendaryTab {
    position: relative; 
    width: 180px; 
    height: 150px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    cursor: pointer;
}
.LegendaryTab.active { background: #3B3D47; }
.LegendaryTab:not(.active):not(:last-child) {
    padding-right: 2px;
}

.LegendaryTab:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: #7A7A7A;
    display: block;
}

.LegendaryTab.active::after {
    display: none !important;
}

.LegendaryTab:has(+ .LegendaryTab.active)::after {
    display: none !important;
}

.LegendaryTab.active::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid #AE9382;
}

.LegendaryItemCategoryIcon { 
    position: relative; height: 80px; 
}   
.LegendaryItemCategoryIcon img {   
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.LegendaryItemCategoryIcon .dormantImg { z-index: 1; }
.LegendaryItemCategoryIcon .activeImg { z-index: 0; visibility: hidden; }
.LegendaryTab.active .dormantImg { z-index: 0; visibility: hidden;}
.LegendaryTab.active .activeImg { z-index: 1; visibility: visible;}

.LegendaryItemCategoryName { 
    text-align: center; 
    color: #7A7A7A;
    font-size: 22px;
}
.LegendaryTab.active .LegendaryItemCategoryName { color: #AE9382; }

.LegendaryItemStatus {   
    display: flex;
    align-items: center;   
}
.LegendaryItemMaxRank, .LegendaryItemAmount { 
    width: 50%;
    height: 100%;
    padding: 0.2rem 0;

    text-align: center;    
    color: #AE9382;
}
.LegendaryItemMaxRank { background: #53565F; }
.LegendaryItemAmount { background: #2A2C3E; }

.LegendaryTab.active .LegendaryItemMaxRank,
.LegendaryTab.active .LegendaryItemAmount {
    background: transparent;
}

.LegendaryItemList {
    padding: 3rem 0;

    display: none;
    flex-wrap: wrap;    
    gap: 20px 83.5px;
    justify-content: flex-start;
}
.LegendaryItemList.active {
    display: flex;
}

.LegendaryItemBox {
    position: relative;
    width: 387px;
    height: 115px;    
    flex-shrink: 0;

    background-image: url('/static/images/guide/item_amount/l_item_wrap.png');
    background-size: 100% 100%;
}
.LegendaryItemBox .boxContent {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 100%;
    height: 70px;
    padding-left: 27px;
    padding-right: 40px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.LegendaryItemIcon {
    width: 70px;
    height: 70px;
    overflow: hidden;
    
    display: flex;
    align-items: center;
    justify-content: center;
}


.LegendaryItemInfo {
    flex: 1;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}
.LegendaryItemInfo .infoTag { color: #DADADA; }
.LegendaryItemInfo .infoContent { color: #F8BA8E; }
.LegendaryItemInfo .infoName,
.LegendaryItemInfo .infoAmount {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ITEM AMOUNT SEARCH */
.itemAmountSearchWrap {
    width: 100%;
    padding: 1rem 0; 
}
.itemAmountSearchWrap form {
    width: 100%;
    margin: 0;

    display: flex;
    align-items: center;
    gap: 10px;
}

#searchtype, #searchkw {
    height: 40px;
    border: 1px solid var(--color-lightgray);
    outline: none;
    padding-left: 10px;
}
#searchtype { width: 100px; }
#searchkw { width: 350px; padding-right: 50px; }

#itemAmountSearchInputWrap { position: relative; }
#search_confirm {
    position: absolute;
    top: 0;
    right: 10px;
    width: 40px;
    height: 100%;
    background: transparent;
    border: none;
}

/* ITEM AMOUNT LIST */
.itemAmountListWrap {   
    width: 100%;    

    border-top: 1px solid var(--color-lightgray);
    border-bottom: 1px solid var(--color-lightgray);
}

#itemAmountTable { 
    width: 100%; 
    table-layout: fixed;
}

#itemAmountTable th, #itemAmountTable td { padding: 1rem 0; }

#itemAmountTable th { color: var(--color-btngray); font-weight: 500; }
#itemAmountTable td { text-align: center; color: var(--color-dark); }

#itemAmountTable .is_best { width: 60px; }
#itemAmountTable .itemType { width: 220px; }
#itemAmountTable .itemIcon { width: 100px; } 
#itemAmountTable .itemName { width: auto; }
#itemAmountTable .itemAmount { width: 150px; }

#itemAmountTable .itemIcon .iconImg { width: 32px; height: 32px; overflow: hidden; margin: 0 auto; }

#itemAmountTable td { 
    vertical-align: middle;
    color: #373737; 
}
#itemAmountTable thead tr { border-bottom: 1px solid var(--color-lightgray); }
#itemAmountTable tbody tr:not(:last-of-type) {
    border-bottom: 1px solid #ECEFF4;
}

#itemAmountTable .itemIcon img {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
    border: 1px solid #D1D1D1;
}

#itemAmountTable tbody tr {
    background: var(--color-white);
}

.lastUpdated {
    padding: 1rem 0;
    text-align: right;

    color: #666666;
}