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

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

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

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

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

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

.rewardInfoSubTitle {
    font-size: 25px;
    line-height: 22px;
    font-family: "Bakeri_DEMO_VERSION", sans-serif;
}

.rewardInfoTitle {
    display: inline-block;
    font-size: 45px;
    line-height: 45px;
    font-weight: 700;
    padding: 10px 0px;
    letter-spacing: 2px;

    font-family: "Bakeri_DEMO_VERSION", sans-serif;

    background: linear-gradient(185deg,
            #ffffff 0%,
            #dba5f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rewardInfoTitle .numberFont {
    font-family: "Calistoga", serif;
    font-size: 45px;
    font-weight: 700;
}

.rewardInfoTitleDes {
    font-size: 18px;
    line-height: 20px;
    text-align: center;
}

.rewardInfoContentMainLayout {
    position: relative;
    width: 100%;
    max-width: 1400px;
    padding: 20px;
    margin-top: 90px;

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

    background: linear-gradient(185deg,
            #603FCF 0%,
            #DC6AE3 100%);
}

.rewardInfoContentObject {
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: 0px;
    opacity: .7;

    width: 100%;
    height: 100%;
}

.rewardInfoContentTitle {
    position: absolute;
    z-index: 2;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);

    width: 300px;
    max-width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    background: linear-gradient(185deg,
            #ffffff 0%,
            #dba5f5 100%);
    clip-path: polygon(35px 0, 100% 0, calc(100% - 35px) 100%, 0 100%);
    color: #000;

    font-size: 22px;
    font-weight: 500;
}

.polygon-wrap {
    width: 120px;
    height: 60px;
    filter: drop-shadow(0 -4px 6px rgba(0, 0, 0, 0.08));
}

.polygon {
    width: 100%;
    height: 100%;
    background: #ffffff34;
    clip-path: polygon(0 100%, 100% 4%, 100% 100%, 0 100%);
}

.polygon-wrap.frist {
    position: absolute;
    top: -8px;
    left: -8px;
    transform: rotate(180deg);
}

.polygon-wrap.bottom_right {
    position: absolute;
    bottom: -8px;
    right: -8px;
    transform: rotate(-180deg) rotateY(180deg) rotateX(180deg);
}

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

    width: 100%;
    height: 100%;
    min-height: 200px;
    margin-top: 30px;
    overflow: auto;

    display: flex;
    align-items: stretch;
    gap: 10px;
}

.rewardInfoContnetDetailLayout {
    position: relative;
    width: 350px;
    min-width: 350px;
    padding: 20px;

    display: flex;
    flex-direction: column;

    background: #ffffff2f;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 1px 1px 10px 2px #00000027;

    font-size: 15px;
    line-height: 20px;
    color: #fff;
}

.rewardInfoContnetDetailLayout.full {
    width: 100%;
    min-width: auto;
}

.rewardInfoDetailTitle {
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    color: #FEEA94;
}

.rewardInfoDetailCard {
    position: relative;
    width: 100%;
    min-height: 55px;
    padding: 15px;

    background: #00000030;
    display: flex;
    flex-direction: column;
    gap: 5px;

    font-weight: 200;
}

.rewardInfoDetailCard #title {
    font-size: 18px;
    font-weight: 500;
}

.rewardInfoContnetCol {
    position: relative;
    width: 100%;
    min-height: 50px;
    padding: 15px 0px;
    border-bottom: 1px solid #ffffff7a;

    display: flex;
    align-items: center;
    gap: 10px;
}

.rewardInfoContnetCol:last-child {
    border-bottom: 1px solid transparent;
}

.rewardInfoContnetCol #title {
    width: 140px;
    min-width: 140px;
    font-weight: 500;
    color: #FEEA94;
}

.rewardInfoContentMainLayout.redeemItem {
    margin-top: 0px;
    padding: 5px;
    max-width: 991px;
}

.redeemItemMapLayout {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 550px;
}

.rewardInfoContentMainLayout.redeemItem .polygon-wrap {
    z-index: 2;
}

.redeemItemTxt {
    font-size: 18px;
}

/* Enchantment  */
.rewardEnchantmentMainLayout {
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    padding: 30px;

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

    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(219, 165, 245, 1) 100%);
    color: #0A0032;

    font-size: 18px;
    line-height: 25px;
    font-weight: 500;
}

.rewardEnchantmentListLayout {
    position: relative;
    width: 100%;
    min-height: 50px;
    padding: 10px 20px;
    border-radius: 50px;

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

    color: #fff;
    background: linear-gradient(-90deg, #DBA5F5 0%, #603FCF 100%);

    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
}

.rewardEnchantmentListLayout #title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    text-align: start;

    width: 100px;
}

.rewardInfoContentLayout.enchantment {
    flex-direction: column;
}

.rewardEnchantmentFrameMainLayout {
    position: relative;
    width: 100%;
    min-height: 50px;
    padding: 5px;

    background: #FEEA94;
    display: flex;
    flex-direction: column;
}

.rewardEnchantmentFrameTitleLayout {
    position: relative;
    width: 100%;
    min-height: 25px;
    padding: 10px 10px;
    color: #0A0032;

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

    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
}

.rewardEnchantmentFrameContentMainLayout {
    position: relative;
    width: 100%;
    background: #603FCF;
    color: #fff;

    display: flex;
    align-items: stretch;
    overflow: auto;
}

.rewardEnchantmentFrameContentLayout {
    width: 300px;
    min-width: 300px;
    padding: 15px 10px;

    display: flex;
    flex-direction: column;

    background: #3C3B73;

    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.rewardEnchantmentFrameContentLayout.full {
    width: 100%;
    min-width: auto;
    background: transparent;
}

.rewardEnchanMaterialsMainlayout {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    background: #fff;
    color: #000;

    font-size: 14px;
}

.rewardEnchanMaterials {
    position: relative;
    width: 100%;
    min-height: 40px;

    display: flex;
    align-items: center;
    gap: 10px;
}

.rewardEnchanMaterials img {
    width: 35px;
    height: 35px;

    object-fit: contain;
}

.rewardEnchanMaterials #subTitle {
    font-size: 14px;
    line-height: 18px;
    color: #45556C;
}

/* ==========================================================
     RATE TABLE  (คัดลอกตั้งแต่บรรทัดนี้ลงไป)
     ทุก selector ขึ้นต้นด้วย .rate-table-wrap จึงไม่กระทบ table อื่น
     ========================================================== */
.rate-table-wrap {
    --rt-head-purple: #d9a6f7;
    --rt-head-yellow: #fde99a;
    --rt-row-bg: #f1f4f9;
    --rt-row-alt: #ffffff;
    --rt-line: #dfe3ea;
    --rt-text: #0f0f1a;
    --rt-radius: 10px;

    max-width: 1100px;
    height: 600px;
    overflow-x: auto;
    border-radius: var(--rt-radius);
    /* border: 2px solid var(--rt-line); */
    color: var(--rt-text);
}

.rate-table-wrap .rate-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* Header */
.rate-table-wrap .rate-table thead th {
    background: var(--rt-head-purple);
    text-align: left;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 16px;
}

.rate-table-wrap .rate-table thead th:first-child {
    width: 40%;
}

.rate-table-wrap .rate-table thead th:nth-child(2) {
    width: 38%;
    font-family: "Kanit", sans-serif;
}

.rate-table-wrap .rate-table thead th.rt-rate {
    background: var(--rt-head-yellow);
    text-align: center;
    width: 22%;
}

/* Body */
.rate-table-wrap .rate-table tbody td {
    background: var(--rt-row-bg);
    border-bottom: 2px solid var(--rt-line);
    padding: 8px 12px;
    height: 55px;
    box-sizing: border-box;
    vertical-align: middle;
}


.rate-table-wrap .rate-table tbody tr.rt-alt td {
    background: var(--rt-row-alt);
}

.rate-table-wrap .rt-name {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
}

.rate-table-wrap .rt-ability {
    font-weight: 400;
}

.rate-table-wrap .rt-single {
    font-weight: 600;
    text-align: center;
}

.rate-table-wrap .rt-total {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-left: 2px solid var(--rt-line);
}

/* Footer */
.rate-table-wrap .rate-table tfoot td {
    background: var(--rt-head-purple);
    text-align: center;
    padding: 18px 12px;
    font-weight: 600;
    font-size: 16px;
}

.rate-table-wrap .rate-table tfoot td.rt-rate {
    background: var(--rt-head-yellow);
}

.rate-tableImg {
    width: 40px;
    height: 40px;
}

.rate-tableImg_2 {
    width: 60px;
    height: 60px;
}

.boosterPackMainLayout {
    min-width: 0;
}

.newyearContentInner,
.rewardInfoContentLayout,
.rewardEnchantmentFrameMainLayout,
.rewardEnchantmentFrameContentMainLayout {
    min-width: 0;
    max-width: 100%;
}

.rewardEnchantmentFrameContentMainLayout {
    overflow-x: auto;
}

.rate-table-wrap {
    width: 100%;
}

.rateEnchant-table-item {
    width: 180px !important;
    min-width: 180px;

    text-align: center !important;
}

.rateEnchant-table-info {
    width: 100% !important;
    min-width: 350px;
}

.rateEnchant-table-note {
    width: 180px !important;
    min-width: 180px;

    text-align: center !important;
}

.rate-table-wrap .rate-table tbody td.rt-note.yellow {
    background: #fde99a;
    text-align: center;
    vertical-align: middle;
}

.rate-table-wrap .rate-table tbody td.rt-note.blue {
    background: #CAFEFF;
    text-align: center;
    vertical-align: middle;
}

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

    display: flex;
    flex-direction: column;

    background: #fff;
    color: #000;
}

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

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

    border-bottom: 1px solid #E2E8F0;
}

.rewardEnchantmentDetail:last-child {
    border-bottom: 1px solid transparent;
}

.rewardEnchantmentDetail .left {
    width: 100%;

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

.rewardEnchantmentDetail .right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== Spell Orb Table : ทุก class ขึ้นต้นด้วย spellorb- ===== */

.spellorb-title-img {
    width: 30px;
    height: 30px;
}

.rateEnchant-table-item.slot2,
.rateEnchant-table-info.slot2,
.rateEnchant-table-note.slot2 {
    background: #c9fbff !important;
    height: 40px;
    padding: 10px 10px !important;
}