.newyearMainLayout {
    position: relative;
    width: 100%;
    height: 100dvh;
    padding: 0px 20px;
    padding-top: 125px;

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

    background: url("https://img.gnjoy.in.th/2026/13/ro_newyearevent2027/images/background/detail.png") top / cover;
}

.newyearFrameContentMainLayout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 991px;
    height: 100%;
    padding: 0px 5px;

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

.newyearContentMainLayout {
    position: relative;
    width: 100%;
    height: 100dvh;
    padding: 0;

    overflow-x: hidden;
    overflow-y: auto;

    background: #0A0032;

    display: block;
    box-sizing: border-box;
}

.newyearContentMainLayout.hidden {
    display: none;
}

/* Content Layout */
.newyearContentInner {
    position: relative;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;

    padding: 30px;


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

.newyearContentTitle {
    position: relative;
    font-family: "Bakeri_DEMO_VERSION", "Kanit", sans-serif;
    font-size: 53px;
    line-height: 52px;
    font-weight: 700;
    letter-spacing: 2px;

    text-align: center;
}

.newyearContentTitle span {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #dca5f5 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.newyearCharacter_1 {
    width: 100%;
    max-width: 200px;

    right: 50px;
    z-index: 1;
}

.newyearCharacter_2 {
    position: absolute;
    z-index: 1;
    left: 50px;
    bottom: 100px;

    width: 100%;
    max-width: 200px;
}

/* ====================
   Custom Scrollbar
   =================== */
.newyearContentMainLayout {
    scrollbar-width: thin;
    scrollbar-color: #DBA5F5 #0A0032;
}

.newyearContentMainLayout::-webkit-scrollbar {
    width: 12px;
}

.newyearContentMainLayout::-webkit-scrollbar-track {
    background: #0A0032;
    border-left: 1px solid rgba(219, 165, 245, 0.15);
}

.newyearContentMainLayout::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 3px solid #0A0032;
    background: linear-gradient(180deg, #ffffff 0%, #DBA5F5 100%);
    transition: background 0.3s ease;
}

.newyearContentMainLayout::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FEEA94 0%, #DBA5F5 100%);
    box-shadow: 0 0 8px rgba(219, 165, 245, 0.8);
}

.newyearContentMainLayout::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #FEEA94 0%, #b86be0 100%);
}

.newyearContentMainLayout::-webkit-scrollbar-button {
    display: none;
}

/* ====================
   Button
   =================== */
.newyearBtnBack {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;

    width: 40px;
    height: 40px;
    border-radius: 5px;

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

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.637) 0%, rgba(220, 165, 245, 0.733) 100%);
    border: 0px solid transparent;
}

.newyearBtnBack.boosterPack {
    position: relative;
    z-index: 3;
    top: 0px;
    left: 0px;
}

.newyearBtnBack img {
    width: 20px;
    height: 20px;
    object-fit: contain;

    filter: drop-shadow(1px 1px 2px #000000b4);
}

.newyearBtnBack:hover {
    background: linear-gradient(180deg, rgb(241 239 239 / 64%) 0%, rgb(157 45 207 / 73%) 100%);
}

.newyearBtnBack {
    transition:
        background 0.5s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.newyearBtnBack:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(190, 100, 255, 0.35);
}

/* ====================
   Reward Deatil
   =================== */
.newyearContentRewardMainLayout {
    position: relative;
    width: 100%;
    border-radius: 20px;

    display: flex;
    flex-direction: column;

    background: #fff;
}

.newyearRewardTitle {
    position: relative;
    width: 100%;
    min-height: 35px;
    padding: 10px 20px;
    border-radius: 20px 20px 0px 0px;

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

    color: #0A0032;
    background: #DBA5F5;

    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

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

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

    color: #0A0032;
    font-size: 15px;
    line-height: 23px;
}

.newyearRewardSupportImg {
    width: 100%;
    max-width: 150px;
}

.newyearRewardDetailItem {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 15px 20px;
    border-radius: 10px;

    background: #FEEA94;
    color: #0A0032;
    font-size: 15px;
    line-height: 23px;

    display: flex;
    flex-direction: column;
}

/* ====================
   Booster Pack Page
   =================== */
.boosterPackNavbarLayout {
    position: absolute;
    z-index: 3;
    top: 140px;
    left: 20px;

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

.newyearMainLayout.boosterPack {
    gap: 10px;
}

.boosterPackFrameLayout {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 100%;
    padding: 80px 10px 20px 10px;

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

.boosterPackFrameLayout.right {
    max-width: 280px;
}

.boosterPackMainLayout {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0px 5px;

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

/* ====================
   Booster Pack Page > Tag (Button and Content Layout)
   =================== */
.boosterPackTagBtn {
    position: relative;
    width: 300px;
    height: 63px;
    padding: 15px 30px 10px 30px;
    border: 0px solid transparent;

    background: url("../images/btn/tab.png") center / cover;

    display: flex;
    align-items: center;

    font-size: 17px;
    line-height: 20px;
    font-weight: 600;
    color: #fff;
}

.boosterPackTagBtn.event {
    font-size: 15px;
    line-height: 18px;
}

.boosterPackTagBtn:hover,
.boosterPackTagBtn.active {
    background: url("../images/btn/tabActive.png") center / cover;
    filter: drop-shadow(0px 0px 5px #ffffffa2) drop-shadow(0px 0px 15px #ffffffd0);

    text-shadow: 2px 2px 2px #000;
    transform: scale(1.13);
}

.newyearContentMainLayout.hidden {
    display: none;
}

/* ====================
   Booster Pack > Tab Animation
   =================== */
.boosterPackMainLayout .newyearContentMainLayout {
    height: 100%;
}

.boosterPackTagBtn {
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.3s ease,
        filter 0.3s ease,
        text-shadow 0.3s ease;
}

.boosterPackTagBtn:focus-visible {
    outline: 2px solid #FEEA94;
    outline-offset: 3px;
}

.boosterPackTagBtn.active {
    animation: tabGlow 2s ease-in-out infinite;
}

@keyframes tabGlow {

    0%,
    100% {
        filter: drop-shadow(0px 0px 5px #ffffffa2) drop-shadow(0px 0px 12px #ffffff80);
    }

    50% {
        filter: drop-shadow(0px 0px 8px #ffffffd0) drop-shadow(0px 0px 22px #dba5f5);
    }
}

/* กดแล้วยุบลงแล้วเด้งกลับ */
.boosterPackTagBtn.is-pressed,
.boosterPackTagBtn.active.is-pressed {
    animation: tabPress 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tabPress {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1.13);
    }
}

.tabRipple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    pointer-events: none;
    animation: tabRipple 0.6s ease-out forwards;
}

@keyframes tabRipple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ====================
   Booster Pack > Loading
   =================== */
.boosterPackLoading {
    position: absolute;
    z-index: 5;
    inset: 0 5px;

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

    background: rgba(10, 0, 50, 0.9);
    color: #DBA5F5;
    font-size: 15px;
    letter-spacing: 1px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.boosterPackLoading.is-active {
    opacity: 1;
    visibility: visible;
}

.boosterPackSpinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(219, 165, 245, 0.25);
    border-top-color: #FEEA94;
    animation: boosterSpin 0.8s linear infinite;
}

@keyframes boosterSpin {
    to {
        transform: rotate(360deg);
    }
}

.newyearLpBtn.boosterPack {
    font-size: 17px;
}

/* Offcanvas */
#offcanvasRight {
    /* width: fit-content; */
    width: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    color: #fff;
    border: none;
    padding: 20px;
}

.boosterPackSubTitleLayout {
    position: relative;
    width: fit-content;
    min-width: 400px;
    min-height: 35px;
    padding: 10px 80px;
    background: linear-gradient(90deg, #603fcf00 0%, #603fcf 30%, #603fcf 50%, #603fcf 70%, #603fcf00 100%);

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

    font-size: 30px;
    line-height: 30px;
    font-weight: 500;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
    color: #f7e4ff;
}

/* Card */
.boosterPackCardItemMainLayout {
    position: relative;
    width: 290px;
    min-width: 290px;
    height: 395px;
    padding: 30px 20px;

    background: url("../images/BoosterPack/carditem.png") center / cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.boosterPackCardItem {
    width: 270px;
    height: 260px;
    padding: 10px;

    background: url("../images/BoosterPack/cardImgLayout.png") center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boosterPackCardItem img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Tag */
.boosterPackTagMainLayout {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;
    border-radius: 10px;

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

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

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

.boosterPackTagBtnReward {
    position: relative;
    width: fit-content;
    min-width: 100px;
    min-height: 30px;
    border-radius: 50px;
    padding: 5px 15px;

    border: 2px solid transparent;
    background: #FEEA94;
    color: #000;

    font-size: 14px;
    line-height: 15px;
    font-weight: 500;

    transition: all .5s;
}

.boosterPackTagBtnReward:hover {
    border: 2px solid #0A0032;
    background: transparent;
}

/* MODAL */
.sideMenuClose {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    border: 0px solid transparent;

    background: #ffffff69;
    color: #fff;
    font-size: 14px;
}

.boosterPackModal .modal-content {
    background: transparent;
    border: 0px solid transparent;
}

/* MODAL > Table */
.boosterPackModalTableColumns {
    position: relative;
    width: 100%;
    min-height: 30px;
    padding: 10px 0px;

    display: flex;
    flex-direction: column;
}

.boosterPackModalTablePrice {
    position: relative;
    width: 250px;
    min-width: 250px;
    min-height: 30px;
    padding: 10px 0px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #E2E8F0;
}

.boosterPackModalTableItem {
    width: 100%;
    min-height: 40px;
    padding: 10px 20px;

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

    font-size: 16px;
    line-height: 16px;
    color: #000000;
    font-weight: 300;
}

.boosterPackModalTableItemImg {
    width: 30px;
}

.boosterPackModalTablePriceLabel {
    width: 100%;
    min-height: 40px;
    padding: 10px 20px;

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

    font-size: 16px;
    line-height: 16px;
    color: #000000;
    font-weight: 300;
}

.newyearRewardDetailLayout.boosterPackModal {
    align-items: stretch;
    justify-content: start;
    flex-direction: row;
    padding: 0px;
}

.newyearRewardDetailLayout.boosterPackModal:last-child {
    border-top: 1px solid #E2E8F0;
}

.boosterPackModalTableItemImg {
    position: relative;
}

.boosterPackModalTableItemImg img {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.boosterPackModalTableItemImg.is-loaded img {
    opacity: 1;
}

.boosterPackModalTableItemImg.is-error img {
    opacity: 0.6;
}

.boosterPackModalTableItemImg.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 25%,
            rgba(255, 255, 255, 0.16) 50%,
            rgba(255, 255, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: boosterImgShimmer 1.2s linear infinite;
}

@keyframes boosterImgShimmer {
    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boosterPackModalTableItemImg.is-loading::after {
        animation: none;
    }
}

/* Booster Newbie Support */
.newbieItemRewardMainLayout {
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    padding: 30px;

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

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

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

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

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

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

/* วงแสงกระเพื่อมรอบปุ่ม (เหมือนเดิม) */
.newbieItemRewardLayout.isClickable {
    animation: clickRipple 2.2s ease-out infinite;
    transition: filter .2s ease, transform .2s ease;
}

@keyframes clickRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(96, 63, 207, .45);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(96, 63, 207, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(96, 63, 207, 0);
    }
}

/* ขอบขาวเรืองแสงวิ่งวนรอบปุ่ม */
.newbieItemRewardLayout.isClickable::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    /* ความหนาของขอบ */
    border-radius: inherit;
    background: conic-gradient(from var(--clickAngle, 0deg),
            transparent 0%,
            rgba(255, 255, 255, .95) 12%,
            transparent 30%);
    /* เจาะกลางออก เหลือแค่ขอบ */
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box exclude,
        linear-gradient(#000 0 0);
    pointer-events: none;
    animation: clickSpin 3s linear infinite;
}

@property --clickAngle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes clickSpin {
    to {
        --clickAngle: 360deg;
    }
}

/* ลูกศรปลายปุ่มเลื่อนไปมา */
.newbieItemRewardLayout .clickArrow {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 18px;
    animation: clickNudge 1.2s ease-in-out infinite;
}

@keyframes clickNudge {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

/* hover: หยุดกระเพื่อม สว่างขึ้น */
.newbieItemRewardLayout.isClickable:hover {
    animation: none;
    filter: brightness(1.12);
    transform: scale(1.015);
    box-shadow: 0 6px 18px rgba(96, 63, 207, .45);
}

.newbieItemRewardLayout.isClickable:active {
    transform: scale(.99);
}

/* คนที่ปิด animation ในระบบ */
@media (prefers-reduced-motion: reduce) {

    .newbieItemRewardLayout.isClickable,
    .newbieItemRewardLayout.isClickable::before,
    .newbieItemRewardLayout .clickArrow {
        animation: none;
    }
}

.newbieItemRewardFooter {
    width: fit-content;
    min-height: 50px;
    padding: 5px 30px;
    border-radius: 50px;

    color: #0A0032;
    background: #CAFEFF;

    font-size: 18px;
    font-weight: 500;

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

.newbieItemEnchantMainLayout {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-height: 100px;
    padding: 30px;
    padding-top: 60px;
    margin-top: 60px;

    background: linear-gradient(180deg, #6340D0 0%, #D266E1 100%);
}

.newbieItemEnchantTitleBox {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);

    width: 280px;
    height: 50px;
    padding: 10px;

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

    background: linear-gradient(90deg, #d6a3f0 0%, #e9cdf7 45%, #fdf8ff 100%);
    clip-path: polygon(40px 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}

.newbieItemEnchantTitleBox span {
    font-weight: 700;
    font-style: italic;
    font-size: 20px;
    line-height: 20px;
    color: #1b0b3d;
}

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

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

.newbieItemEnchantFrameTitle {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 10px 20px;

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

    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
    color: #0A0032;
}

.newbieItemEnchantListMainLayout {
    width: 100%;
    min-height: 50px;
    height: 500px;
    overflow: auto;

    background: #fff;

    display: flex;
    flex-direction: column;
}

.newbieItemEnchantListLayout {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;
    border-bottom: 1px solid #E2E8F0;


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

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

.newbieItemEnchantListItem {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 10px;

    color: #000;
    font-size: 16px;
    line-height: 20px;
}

.newbieItemEnchantListItemImg {
    width: 35px;
    min-width: 35px;
    height: 35px;
}

.newbieItemEnchantListItemImg {
    position: relative;
}

.newbieItemEnchantListItemImg img {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.newbieItemEnchantListItemImg.is-loaded img {
    opacity: 1;
}

.newbieItemEnchantListItemImg.is-error img {
    opacity: 0.6;
}

.newbieItemEnchantListItemImg.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 25%,
            rgba(255, 255, 255, 0.16) 50%,
            rgba(255, 255, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: boosterImgShimmer 1.2s linear infinite;
}

/* Enchant_GuaranteeSlot */
.enchant_GuaranteeSlotMaterialMainlayout {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 15px;

    background: #3C3B73;

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

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

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

    font-size: 14px;
}

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

    display: flex;
    flex-direction: column;
}

.enchant_GuaranteeSlotMaterialItem.light {
    background: #fff;
}

.enchant_GuaranteeSlotMaterialItem.primary {
    background: #63628F;
}

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

    display: flex;
    align-items: center;
    gap: 5px;

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

.enchant_GuaranteeSlotMaterialItem.light .guaranteeSlotMaterialItem {
    color: #000;
}

.guaranteeSlotMaterialItem img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.enchant_GuaranteeSlotMaterialTableMainLayout {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 15px;

    background: #603FCF;
}

.enchant_GuaranteeSlotMaterialTableLayout {
    position: relative;
    width: 100%;
    min-height: 100px;
    overflow: auto;
    background: #DBA5F5;

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

    font-size: 16px;
    color: #000;
}

.guaranteeSlotMaterialTableTitle,
.guaranteeSlotMaterialTableItem {
    flex-shrink: 0;
}

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

    background: #DBA5F5;
    display: flex;
    align-items: center;
}

.guaranteeSlotMaterialTableCol_1 {
    width: 300px;
    min-width: 300px;
    padding: 10px;
}

.guaranteeSlotMaterialTableCol_2 {
    width: 100%;
    min-width: 350px;
    padding: 10px;
}

.guaranteeSlotMaterialTableCol_3 {
    width: 200px;
    min-width: 200px;
    padding: 10px;
}

.guaranteeSlotMaterialTableCol_4 {
    width: 120px;
    min-width: 120px;
    padding: 10px;
}

.guaranteeSlotMaterialTableCol_4.Slot_4 {
    height: 135px;
    border-right: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.guaranteeSlotMaterialTableCol_4.Slot_3 {
    height: 180px;
    border-right: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.guaranteeSlotMaterialTableCol_4.Slot_2 {
    height: 100px;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.guaranteeSlotMaterialTableTitle .guaranteeSlotMaterialTableCol_1,
.guaranteeSlotMaterialTableTitle .guaranteeSlotMaterialTableCol_2,
.guaranteeSlotMaterialTableTitle .guaranteeSlotMaterialTableCol_3,
.guaranteeSlotMaterialTableTitle .guaranteeSlotMaterialTableCol_4 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;

}

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

    display: flex;
    align-items: stretch;
    background: #fff;
}

.guaranteeSlotMaterialTableItem .guaranteeSlotMaterialTableCol_3 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #E2E8F0;
    background: #fff;

}

.guaranteeSlotMaterialTableCol_1,
.guaranteeSlotMaterialTableCol_2,
.guaranteeSlotMaterialTableCol_4 {
    border-bottom: 1px solid #E2E8F0;
}

.guaranteeSlotMaterialTableCol_1:last-child,
.guaranteeSlotMaterialTableCol_2:last-child {
    border-bottom: 0px solid #10223900;
}

.guaranteeSlotMaterialTableItem .guaranteeSlotMaterialTableCol_2 {
    background: #fff;
}

.guaranteeSlotMaterialTableItem>.w-auto,
.guaranteeSlotMaterialTableItem>.w-100 {
    background: #fff;
}

.boosterEnchantEpMainLayout {
    position: relative;
    width: 100%;
    /* min-width: 350px; */
    min-height: 150px;
    border-radius: 20px;
    padding: 30px 20px;

    background: linear-gradient(0deg, #d6a3f0 0%, #e9cdf7 45%, #fdf8ff 100%);
    color: #000;

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

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

.boosterEnchantEpTag {
    width: fit-content;
    min-width: 80px;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 50px;
    border: 0px solid transparent;

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

    font-size: 15px;
    line-height: 18px;
}

.boosterEnchantEpTag.light {
    color: #fff;
    background: #0a003240;
}

.boosterEnchantEpTag.primary {
    color: #0A0032;
    background: #FEEA94;
    padding: 5px 20px;
}

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

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

    background: #fff;
}

.boosterEnchantEpRewardImg {
    width: 35px;
    min-width: 35px;
    height: 35px;
}

.boosterEnchantEpReward #item {
    font-weight: 600;
}

.boosterEnchantEpReward #count {
    font-size: 16px;
    line-height: 15px;
    color: #45556C;
}

.boosterEnchantEpMainLayout h6 {
    font-size: 18px;
}

.costumeEnchanttFrame {
    position: relative;
    width: 100%;
    min-height: 100px;
    padding: 5px;
    border-radius: 20px;
    overflow: hidden;

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

.costumeEnchanttFrameTitle {
    position: relative;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    color: #0A0032;
}

.costumeEnchanttFrameDetail {
    width: 100%;
    min-height: 45px;
    padding: 5px 10px;

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

    font-weight: 500;
}

.costumeEnchanttFrameCoin {
    position: relative;
    width: 180px;
    min-width: 180px;
    min-height: 45px;
    padding: 5px 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.costumeEnchanttFrameCoin img {
    width: 30px;
    height: 30px;
}

.costumeEnchanttFrameTDetailMain {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 0px 0px 20px 20px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #fff;
}

.costumeEnchanttFrameTDetail {
    position: relative;
    width: 100%;
    min-height: 50px;
    border-bottom: 1px solid #E2E8F0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0A0032;
}

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

.costumeEnchanttFrameDetail img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ====================
   Booster Reset Skill & Status
   =================== */
.resetSkillTableMainLayout {
    position: relative;
    width: 100%;
    border-radius: 0px 0px 20px 20px;
    overflow: auto;

    display: flex;
    align-items: stretch;
    gap: 3px;

    color: #000;
}

.resetSkillTableMainTitle {
    position: relative;
    width: 100%;
    min-height: 60px;
    padding: 10px 10px;

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

    font-size: 22px;
    line-height: 20px;
    font-weight: 500;
    color: #0A0032;
}

.resetSkillTableLayout {
    position: relative;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;

}

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

    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #fff;

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

.resetSkillTableTitle.primary {
    background: #67B9FF;
}

.resetSkillTableTitle.purple {
    background: #603FCF;
}

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

    display: flex;
    align-items: stretch;

    color: #000;
}

.resetSkillTable {
    position: relative;
    width: 100%;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;

    font-size: 14px;
}

.resetSkillTable.left {
    background: #F1F5F9;
}

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

    background: #ffffff4b;

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

    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

/* ====================
   Booster Pack Reward
   =================== */
.packRewardTableMainTagLayout {
    position: relative;
    width: 100%;
    max-width: 1200px;

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

.packRewardTableMainTagLayout.hidden {
    display: none;
}

.packRewardBtnTag {
    position: relative;
    width: fit-content;
    min-width: 250px;
    min-height: 70px;
    padding: 15px 40px;
    border-radius: 15px;

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

    border: 1px solid #DBA5F5;
    background: #dca5f559;
    color: #fff;

    font-size: 14px;
    line-height: 15px;
    font-weight: 500;

    transition: all .5s;
}

.packRewardBtnTag #title {
    font-size: 20px;
    line-height: 20px;
}

.packRewardBtnTag:hover,
.packRewardBtnTag.active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(219, 165, 245, 1) 100%);
    color: #000;
}

.packRewardTableMainLayout {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 20px;

    background: #DBA5F5;
    display: flex;
    align-items: stretch;
    /* overflow: auto; */

    color: #000;
    font-size: 16px;

}

.packRewardTableTitle {
    position: relative;
    width: 200px;
    min-width: 200px;
    padding: 20px;

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

    font-weight: 600;
}

.packRewardTableContentLayout {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 0px 20px 20px 0px;

    display: flex;
    flex-direction: column;
}

.packRewardTableContent {
    width: 100%;
    min-height: 35px;
    padding: 10px 20px 10px 10px;

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

    font-size: 14px;
    line-height: 18px;
    font-weight: 500;

    border-bottom: 1px solid #E2E8F0;
}

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

.packRewardTableItem {
    width: 40px;
    height: 40px;
}

/* ====================
   Modal : Booster Gift Exchange
   =================== */
.giftExchangeModalMainLayout {
    position: relative;
    width: 100%;
    border-radius: 20px;

    display: flex;
    flex-direction: column;

    background: #DBA5F5;
    color: #000;
}

.giftExchangeModalTableTitleMainLayout {
    position: relative;
    width: 100%;
    min-height: 70px;

    display: flex;
    align-items: stretch;

    font-size: 17px;
    line-height: 20px;
    font-weight: 600;
}

.giftExchangeModalTableTitleMain {
    position: relative;
    width: 450px;
    min-width: 450px;
    min-height: 45px;
    padding: 10px;

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

    border-right: 1px solid #eec6ff;
}

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

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

    border-bottom: 1px solid #eec6ff;
}

.giftExchangeModalTableSubtitl {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 15px 20px;

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

    border-right: 1px solid #eec6ff;
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
}

.giftExchangeModalTableSubtitl:last-child {
    border-right: 1px solid transparent;
}

.giftExchangeModalTableMainLayout {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 0px 0px 20px 20px;
    background: #fff;

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

.giftExchangeModalTableContnetMainLayout {
    position: relative;
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: stretch;

    border-bottom: 1px solid #eec6ff;
}

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

.giftExchangeModalTableTitleItem {
    width: 40px;
    height: 40px;
}

/* ====================
   Modal : Booster Gift Exchange > Refine Snow Flower Shadow
   =================== */
.giftExchangeSnowFlowerModal {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    overflow: auto;

    background: #DBA5F5;
    color: #000;
}

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

    display: flex;
    align-items: stretch;

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

.giftExchangeSnowFlowerModalTableLayout_1 {
    position: relative;
    width: 150px;
    min-width: 150px;
    min-height: 55px;
    padding: 10px 10px;

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

    border-right: 1px solid #eec6ff;
}

.giftExchangeSnowFlowerModalTableGroupCol {
    width: 100%;
    min-height: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eec6ff;
}

.giftExchangeSnowFlowerModalTableLayout_2 {
    width: 100%;
    min-height: 50px;

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

    border-bottom: 1px solid #eec6ff;
}

.giftExchangeSnowFlowerModalTableGroupCol_2 {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #eec6ff;

}

.giftExchangeSnowFlowerModalTableLayout_3 {
    width: 100%;
    min-height: 50px;

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

    border-right: 1px solid #eec6ff;
}

.giftExchangeSnowFlowerModalTableLayout_3:last-child,
.giftExchangeSnowFlowerModalTableGroupCol_2:last-child,
.giftExchangeSnowFlowerModalTableGroupCol:last-child {
    border-right: 1px solid transparent;
}

.giftExchangeSnowFlowerItem {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    margin-right: 5px;
    overflow: hidden;
}

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

    display: flex;
    align-items: center;

    font-size: 14px;
    line-height: 18px;
    font-weight: 500;

    background: #fff;
    color: #000;
    border-bottom: 1px solid #eec6ff;
}

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

.giftExchangeSnowFlowerModalNote {
    width: 100%;
    max-width: 700px;
    min-height: 30px;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 0px auto;

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

    background: #eec6ff33;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #eec6ff;
    color: #fff;
}

/* ====================
   Modal : Booster Gift Exchange > Enchant Snow Flower Shadow
   =================== */
.giftExchangeEnchantTableMainLayout {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    overflow: auto;

    color: #0A0032;
    background: #fff;

    display: flex;
    flex-direction: column;
}

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

    display: flex;
    align-items: stretch;

    font-size: 17px;
    line-height: 20px;
    font-weight: 600;

    background: #DBA5F5;
}

.giftExchangeEnchantTable_1 {
    width: 160px;
    min-width: 160px;
    min-height: 50px;
    padding: 10px 20px;
    border-right: 1px solid #eec6ff;

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

.giftExchangeEnchantTable_1:last-child {
    border-right: 1px solid transparent;
}

.giftExchangeEnchantTable_2 {
    width: 100%;
    min-width: 300px;
    min-height: 50px;
    padding: 10px 20px;
    border-right: 1px solid #eec6ff;

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

.giftExchangeEnchantTable_3 {
    width: 270px;
    min-width: 270px;
    min-height: 50px;
    padding: 10px 20px;
    border-right: 1px solid #eec6ff;

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

.giftExchangeEnchantTable_4 {
    width: 196px;
    min-width: 196px;
    min-height: 50px;
    padding: 10px 20px;
    border-right: 1px solid #eec6ff;

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

    font-size: 16px;
}

.giftExchangeEnchantTableContentMainLayout {
    position: relative;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eec6ff;
}

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

/* ====================
   Modal : Booster Gift Exchange > Reset Enchant
   =================== */
.giftExchangeResetEnchantTableMainLayout {
    position: relative;
    width: 100%;
    min-height: 100px;
    border-radius: 20px;
    overflow: auto;

    color: #0A0032;
    background: #fff;

    display: flex;
    align-items: stretch;
}

.giftExchangeResetEnchantTable_1 {
    width: 160px;
    min-width: 160px;
    min-height: 50px;
    border-right: 1px solid #eec6ff;

    display: flex;
    flex-direction: column;
}

.giftExchangeResetEnchantTable_2 {
    width: 100%;
    min-width: 300px;
    min-height: 50px;
    border-right: 1px solid #eec6ff;

    display: flex;
    flex-direction: column;
}

.giftExchangeResetEnchantTable_1:last-child,
.giftExchangeResetEnchantTable_2:last-child {
    border-right: 1px solid transparent;
}

.giftExchangeResetEnchantTitle {
    width: 100%;
    min-height: 50px;
    padding: 10px 20px;
    background: #DBA5F5;

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

    font-size: 17px;
    line-height: 20px;
    font-weight: 600;
}

.giftExchangeResetEnchantContent {
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;

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

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

/* แถวที่คลิกได้ */
.giftRewardClickable {
    position: relative;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
    /* border-radius: 8px; */
}

/* ชื่อรางวัล: ขีดเส้นใต้ประแบบลิงก์ */
.giftRewardClickable .giftRewardName {
    color: #c50dfd;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}


/* hover / focus */
.giftRewardClickable:hover {
    background-color: #ed0dfd14;
    box-shadow: 0 0 0 2px rgba(169, 13, 253, 0.35);
}

.giftRewardClickable:hover .giftViewHint {
    animation: none;
    background: #0a58ca;
}

.giftRewardClickable:focus-visible {
    outline: 3px solid #c90dfd;
    outline-offset: 2px;
}

/* คนที่ปิด animation ในระบบ */
@media (prefers-reduced-motion: reduce) {
    .giftViewHint {
        animation: none;
    }
}

.boosterPackMainLayout,
.newbieItemEnchantMainLayout,
.newbieItemEnchantFrame,
.newbieItemEnchantFrame>* {
    min-width: 0;
    max-width: 100%;
}

.newyearContentInner {
    align-items: safe center;
}

.enchant_GuaranteeSlotMaterialTableLayout {
    display: grid;
    /* 120 + 300 + 350 + 200 = ผลรวม min-width ของ column ทั้งหมด */
    grid-template-columns: minmax(970px, 1fr);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}