:root {
	--txt-ttip_red: #FF6F42; 
	--txt-ttip_green: #5CD651; 
	--txt-ttip_tiffany: #58F0E7; 
	--txt-ttip_blue: #42BBFF; 
}

.dg_skills_wrapper .dg_skills_tabs {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding-left: 0;
}
.dg_skills_tabs .dg_skills_tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 173px;
    height: 47px;
    font: 700 12px / 1.6 "Roboto";
    color: #7B7B7B;
    background: url(../images/tab_bg.png);
    background-size: 100% 47px;
    background-repeat: no-repeat;
    margin: 0;
}

.dg_skills_tab-link:is(.current) {
    color: #FF7B18;
}

.dg_skills_tab-content {
	display: none;
}

.dg_skills_tab-content:is(.current) {
	display: flex;
}

.dg_skills_block {
    /* width: 340px; */
    /* position: relative; */
    font-size: 30px;
}

.dg_skills_bkg_stack {
    position: relative;
    width: 100%;
}

.dg_skills_title_bar_bkg {
    position: relative;
    z-index: 1;
    background-image: url(../images/title_tabbar_bg.png);
    background-size: 100% 88px;
    background-repeat: no-repeat;
    width: 100%;
    height: 88px;
    aspect-ratio: 972 / 156;
}
.dg_skills_title_bar_title {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-size: 14px;
    font-family: OptimusPrinceps, FontinSmallCaps, Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.2em;
    text-shadow: 0 0 1px #000;
}
.dg_skills_inventory_bkg {
    position: relative;
    margin-top: -16px;
    background-image: url(../images/dg_skills_inventory_bkg.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1312/1700
}


.dg_skills_tabs_nav_buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 45px;
    padding-left: 25px;
    padding-right: 25px;
}
.dg_skills_tabs_nav_prev,
.dg_skills_tabs_nav_next {
    width: 35px;
    height: 100%;
    cursor: pointer;
    background-size: 100%;
    background-repeat: no-repeat;
}
.dg_skills_tabs_nav_prev {
    background-image: url(../images/prev.png);
}

.dg_skills_tabs_nav_next {
    background-image: url(../images/next.png);
}
.dg_skills_body_wrapper {
    width: 100%;
    height: 100%;
    padding: 15.5% 5% 2.5% 5%;
    background-image: url(../images/dg_skills_inventory_bkg.webp);
    background-size: 100%;
    background-repeat: no-repeat;
    aspect-ratio: 1312 / 1584;
}
.dg_skills_body {
    max-height: 100%;
    overflow: auto;
    scrollbar-gutter: stable;
}

.dg_skills {
    /* height: 100%; */
}

.dg_skills_slot {
	background-image: url(../images/skill_slot.webp);
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1136 / 260;
    margin-bottom: 8px;
}

.dg_skill_list_preview {
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 40%;
    /* position: relative; */
    grid-gap: 4%;
    gap: 4%;
}

.dg_skill_list_main_skill {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .5% 0 0 9.2%;
    width: 6.9%;
    aspect-ratio: 1 / 1;
}

.dg_skill_list {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .6% 0 0 6.6%;
    gap: 15px;
    
}

.dg_skill_list_item {
    line-height: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    width: 1em;
    height: 1em;
    padding: 0;
    background-size: 1em;
    /* position: relative; */
    background-image: url(../images/runes.png);
}
.dg_skill_list_item:first-child {
    font-size: 2.5rem;
    margin-right: 1%;
    padding: .1em;
}

.dg_skill_list_item:not(:first-child) .dg_skill_list_item_mask {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    overflow: hidden;
    width: .7em;
    height: .7em;
    margin: .15em;
}

.dg_skills_wrapper {
    max-width: 340px;
    background-color: #0B090C;
    padding: 10px;
}


.dg_skills_socket_item > .ttip_handle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
}

.dg_skills_block .ttip_handle span:not(.ttip_title) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    background-size: 100%;
    margin: 0;
}

.dg_skills_block .ttip_handle .ttip_title {
    display: none;
}

.dg_skills .ttip_handle:is(.ttip_red, .ttip_green, .ttip_tiffany, .ttip_blue ),
.dg_skills .ttip_subtitle:is(.ttip_red, .ttip_green, .ttip_tiffany, .ttip_blue ) {
    background: transparent;
    border: unset !important;
}

.dg_skills_sec {
    display: flex;
    gap: 15px;
    background-color: #0B090C;
    margin-top: 15px;
    margin-bottom: 15px;
}


@media (min-width: 768px) {
    .dg_skills_wrapper {
        min-width: 440px;
        padding: 15px;
    }
    /* .dg_skills_body {
        max-height: 443px;
    } */
    .dg_skill_list {
        grid-gap: 4.6%;
        gap: 4.6%;
    }
    .dg_skill_list_item {
        font-size: 3rem;
    }
    .dg_skill_list_item:first-child {
        font-size: 3.4rem;
    }
    .dg_skills_block .ttip_handle span:not(.ttip_title) {
        width: 2.4rem;
        height: 2.4rem;
    }
    .dg_skills_block .dg_skill_list_preview .ttip_handle span:not(.ttip_title) {
        width: 1.8rem;
    }
    .dg_skill_list {
        gap: 2.7%;
    }
    .dg_skills_tabs .dg_skills_tab-link {
        font-size: 14px;
    }
    .dg_skills_title_bar_title {
        font-size: 12px;
    }
    .txt_near_skills {
        margin-top: 60px;
    }
}

@media(max-width: 1500px) {
    .dg_skills_sec {
        flex-wrap: wrap;
    }
}

@media(max-width: 768px) {
    
    .dg_skills_title_bar_bkg {
        background-size: 100% 100%;
        height: 100%;
    }
    .dg_skills_sec {
        flex-wrap: wrap;
    }
    .txt_near_skills {
        padding-right: 10px;
        padding-left: 10px;
    }
}
@media (max-width: 480px) {
    .dg_skills_tabs_nav_buttons {
        height: 35px;
        padding-right: 0;
        padding-left: 0;
    }
    .dg_skills_tabs_nav_prev,
    .dg_skills_tabs_nav_next {
        width: 34px;
    }
    .dg_skills_body_wrapper {
        margin-top: -10px;
    }
    .dg_skills_body {
        max-height: calc( 100% - 70px );
    }
}