/* GLOBAl  */

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../../../assets/font/LINESeedSansTH_Th.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../../../assets/font/LINESeedSansTH_Rg.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../../../assets/font/LINESeedSansTH_Bd.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../../../assets/font/LINESeedSansTH_XBd.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "LINESeedSansTH";
    src: url("../../../assets/font/LINESeedSansTH_He.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "PSLSamsonExtraSp";
    src: url("../font/PSL196SP.TTF") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "PSLSamsonExtraSp";
    src: url("../font/PSL197SP.TTF") format("truetype");
    font-weight: 800;
    font-style: normal;
}

.font-LINESeedSansTH {
    font-family: "LINESeedSansTH", sans-serif;
}

.font-PSLSamsonExtraSp {
    font-family: "PSLSamsonExtraSp", sans-serif;
}

.ci-warning {
    color: #fab93c;
}

.ci-grayBlue {
    color: #bbb9d6;
}

.ci-primary {
    color: #5b57c2;
}

body {
    background: #131230;
}

.mainLayoutBody {
    width: 100%;
    max-width: 991px;
    min-height: 100dvh;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========== Banner ===========  */
.bannerMainLayout {
    position: relative;
    width: 100%;
    min-height: 1800px;
    margin-top: 40px;


    background: url("../images/banner.png");
    background-position: top;
    background-size: cover;
}

.bannerContentMapLayout {
    position: absolute;
    z-index: 2;
    bottom: 19%;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    height: 540px;
    padding: 50px 150px;

    display: flex;
    align-items: start;
    justify-content: center;
    gap: 5px;
}

.bannerMapMainLayout {
    width: 340px;
    min-width: 340px;
    min-height: 100px;
    padding-bottom: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bannerMapImg {
    width: 300px;
    height: 300px;
    padding: 1px;

    background: #000;
}

.btntab {
    width: 300px;
    height: 85px;
    padding: 5px 10px;
    border-radius: 10px;

    background: url("../images/btn.png");
    background-position: center;
    background-size: cover;
    border: 0px solid transparent;

    color: #fff;
    font-size: 17px;
    line-height: 25px;
    font-weight: 700;
    font-family: "LINESeedSansTH";

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: all .5s;
    box-shadow: 0px 2px 0px transparent;
}

.btntab.back {
    position: fixed;
    z-index: 2;
    top: 60px;
    left: 10px;

    width: 130px;
    height: 55px;

    filter: drop-shadow(1px 1px 5px #ffffff4e);
}

.btntab:hover,
.btntab.active {
    /* transform: scale(0.97); */
    background: url("../images/btn_active.png");
    background-position: center;
    background-size: cover;
    box-shadow: 0px 2px 0px #000;

}

.btntab:active {
    transform: scale(0.97);
}



/* =========== Content ===========  */
.contentMainLayout {
    display: none;
    opacity: 0;
    transition: 0.3s;
}

.contentMainLayout.show {
    width: 100%;
    min-height: 100dvh;
    padding: 20px 0px 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #fff;
    opacity: 1;

}

/* Power Twisted Plains  */
.ptpContentHeader {
    position: relative;
    width: 100%;
    min-height: 200px;
    padding: 50px 10px 0px 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ptpContentTitle {
    position: relative;
    z-index: 2;

    font-family: "PSLSamsonExtraSp", sans-serif;
    font-weight: 700;
    font-size: 70px;
    line-height: 70px;
    letter-spacing: 1px;
}

.ptpContentHeader_object {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;

    width: 150px;
    height: 150px;
}

.ptpContentHeaderTitle {
    position: relative;
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: end;
    gap: 10px;

    color: #fff;
}

.ptpContentHeaderTitle #title {
    width: fit-content;
    white-space: nowrap;
}

.ptpHr {
    width: 100%;
    height: 2px;
    margin-bottom: 6px;

    background: #fff;
}

.ptpSpace {
    width: 100%;
    height: 100px;
}

.ptpTable_Header {
    width: 100%;
    height: 200px;
    min-height: 200px;

    background: #fff;

    display: flex;
    align-items: stretch;
}

.ptpTableHeader_map {
    width: 200px;
    min-width: 200px;
    height: 200px;
    padding: 2px;

    background: #000;
}

.ptpTableHeader_titleLayout {
    width: 250px;
    min-width: 250px;
    height: 200px;

    background: #bbb9d6;
    color: #302f72;
    border-right: 2px solid #7a7ca1;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 16px;
    font-weight: 600;

    display: flex;
    flex-direction: column;
}

.ptpTableHeaderTitle {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 2px solid #7a7ca1;
}

.ptpTableHeader_detailLayout {
    width: 100%;
    height: 200px;

    color: #626173;
    border-right: 2px solid #7a7ca1;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 16px;
    font-weight: 600;

    display: flex;
    flex-direction: column;
}

.ptpContentTopicLayout {
    position: relative;
    width: 100%;
    min-height: 120px;
    padding: 20px;

    background: #fff;
    color: #727181;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 16px;
    font-weight: 600;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.ptpContentTopic {
    width: 100%;
    height: 40px;

    background: url("../images/powerTwistedPlains/title.png");
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: #000;
    font-weight: 600;
    font-size: 18px;
}

.ptpContentObject {
    position: absolute;
    bottom: 15px;
    left: -45px;

    width: 180px;
}

.ptpContentObject_2 {
    position: absolute;
    bottom: 5px;
    right: -45px;

    width: 150px;
}

.tableMainLayout {
    width: 100%;
    min-height: 100px;
    overflow: auto;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    background: #ffffff;
    color: #626173;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.tableHeaderLayout {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    background: #bbb9d6;
    border-bottom: 2px solid #7a7ca1;
    color: #000;
    font-size: 16px;
}

.tableContentLayout {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: stretch;

    border-bottom: 2px solid #7a7ca1;
}

.tableContentItemLayout {
    width: 300px;
    min-width: 300px;
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableContentItemLayout_2 {
    width: 220px;
    min-width: 220px;
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableContentDesLayout {
    width: 100%;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tableContentDesLayout.content {
    align-items: start;
    text-align: start;
}

.tableItem {
    width: 60px;
}

.tableLoading {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tableEquipmentMainLayout {
    width: 100%;
    min-height: 150px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.tableEquipmentContentLeft {
    width: 100%;
    max-width: 250px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tableEquipmentItem {
    width: 90px;
    min-width: 90px;
}

.tableEquipmentItemObject {
    width: 120px;
    min-width: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.tableEquipmentItem2 {
    width: 60px;
}



.tableEnchantContentMainLayout {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: stretch;
}

.tablEnchantNo {
    width: 40px;

    background: #bbb9d6;
    color: #131230;
    border-right: 2px solid #7a7ca1;
    border-bottom: 2px solid #7a7ca1;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
}

.tableEnchantContentItemLayout {
    width: 326px;
    min-width: 326px;
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableEnchantContentList {
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    border-bottom: 2px solid #7a7ca1;
    border-right: 2px solid #7a7ca1;
}

.tableEnchantContentItemLayout2 {
    width: 346px;
    min-width: 346px;
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableEnchantContentItemLayout2Title {
    width: 100%;
    /* min-width: 100%; */
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableEnchantContentItemLayout3 {
    width: 365px;
    min-width: 365px;
    min-height: 50px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;

    border-right: 2px solid #7a7ca1;
}

.tableScroll {
    width: 100%;
    overflow: auto;
}

/* ENCHANT  */

.tableEnchanMainLayout {
    width: 100%;
    min-width: 500px;
    min-height: 200px;

    background: #fff;
}

.tableEnchantMainLayout {
    width: 100%;
    min-height: 150px;

    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.tablEnchantTitle {
    width: 100%;
    min-height: 50px;
    padding: 10px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-family: "LINESeedSansTH", sans-serif;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;

    background: #9590db;
    color: #131230;
}

/* =========================
   TABLE
========================= */
.enchantTable {
    width: 100%;
    max-width: 100%;
    margin: auto;
    border-collapse: collapse;
    table-layout: fixed;
    border: 2px solid #4b4b4b;
}

/* ALL CELLS */
.enchantTable th,
.enchantTable td {
    border: 1.5px solid #4b4b4b;
    text-align: center;
    vertical-align: middle;
    padding: 8px 6px;
    font-size: 13px;
    color: #000;
    line-height: 1.35;
    word-break: break-word;
}

/* SECTION TITLE */
.sectionTitle {
    background: #8e83c9;
    font-weight: bold;
    font-size: 16px !important;
    padding: 10px !important;
}

/* HEADER */
.subHeader {
    background: #b7afd7;
    font-weight: bold;
}

/* LEFT NUMBER */
.stepNumber {
    width: 55px;
    background: #c2bbdf;
    font-weight: bold;
    font-size: 18px;
}

/* SLOT HEADER */
.slotHeader {
    background: #b7afd7;
    font-weight: bold;
}

/* CONTENT BG */
.whiteBg {
    background: #ffffff;
}

/* SLOT RANDOM */
.slotRandom {
    font-weight: normal;
    font-size: 13px;
}

/* ENCHANT BOX */
.enchantBox {
    padding: 0 !important;
}

.enchantGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.enchantItem {
    border-right: 1.5px solid #4b4b4b;
    border-bottom: 1.5px solid #4b4b4b;
    padding: 8px 5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    background: #fff;
}

.enchantItem:nth-child(2n) {
    border-right: none;
}

.enchantItem:nth-last-child(-n + 1) {
    border-bottom: none;
}

/* 3 ROW SINGLE */
.singleGrid {
    display: grid;
    grid-template-columns: 1fr;
}

.singleGrid .enchantItem {
    border-right: none;
}

/* RESPONSIVE */
.tableWrap {
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 768px) {}


.mapImg {
    width: 100%;
    height: 600px;

    overflow: hidden;
}

.mapImg img {
    transform: scale(1.2);
}