
  .game-iframe-container[data-v-154eb8e5] {
    height: calc(var(--app-vh, 1vh)*100);
    overflow: hidden;
    position: relative;
    width: 100vw;
    --play-header-h: 40px;
    background: #000;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: calc(var(--play-header-h) + env(safe-area-inset-top))
}

.play-header[data-v-154eb8e5] {
    left: 0;
    pointer-events: auto;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateZ(0);
    z-index: 9999
}

.play-header__inner[data-v-154eb8e5] {
    align-items: center;
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    backdrop-filter: saturate(1.2) blur(6px);
    background: #000;
    display: flex;
    height: var(--play-header-h);
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: env(safe-area-inset-top)
    margin-top: 5px;
}

.accent[data-v-154eb8e5] {
    background: var(--card-primary);
    height: 3px
}

.brand[data-v-154eb8e5] {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 8px
}

.brand__logo[data-v-154eb8e5] {
    height: 28px;
    -o-object-fit: contain;
    object-fit: contain;
    width: auto
}

.brand__text[data-v-154eb8e5] {
    color: #fff;
    font-weight: 700;
    letter-spacing: .5px
}

.notch[data-v-154eb8e5] {
    background: #000;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    height: 26px;
    opacity: .9;
    width: 140px
}

.actions[data-v-154eb8e5] {
    align-items: center;
    display: flex;
    gap: 8px
}

.balance-pill[data-v-154eb8e5] {
    align-items: center;
    background: #ffffff1f;
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    gap: 6px;
    height: 32px;
    padding: 6px 10px
}

.trend-ic[data-v-154eb8e5],.wallet-ic[data-v-154eb8e5] {
    font-size: 16px
}

.balance-up[data-v-154eb8e5] {
    color: #22c55e
}

.balance-down[data-v-154eb8e5],.balance-up[data-v-154eb8e5] {
    transition: color .18s ease
}

.balance-down[data-v-154eb8e5] {
    color: #ef4444
}

.balance-same[data-v-154eb8e5] {
    color: #fff
}

.btn-deposit[data-v-154eb8e5] {
    background-image: linear-gradient(180deg,#ffe9a6,#ffd66b 50%,#e0a400);
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 2px #00000040,0 4px 10px #00000040;
    color: #1f2937;
    cursor: pointer;
    font-weight: 700;
    padding: 8px 14px
}

.btn-deposit[data-v-154eb8e5]:active {
    transform: translateY(1px)
}

.top-controls[data-v-154eb8e5] {
    left: 16px;
    position: fixed;
    top: calc(var(--play-header-h) + 12px);
    z-index: 1002
}

.top-btn[data-v-154eb8e5] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #000c;
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 14px;
    transition: background-color .2s ease,transform .1s ease
}

.top-btn[data-v-154eb8e5]:hover {
    background: #000000e6
}

.top-btn[data-v-154eb8e5]:active {
    transform: scale(.98)
}

.game-iframe[data-v-154eb8e5] {
    border: 0;
    display: block;
    height: calc(var(--app-vh, 1vh)*100 - var(--play-header-h));
    width: 100vw
}

.loading-overlay[data-v-154eb8e5] {
    align-items: center;
    background: #000c;
    display: flex;
    height: calc(var(--app-vh, 1vh)*100 - var(--play-header-h) - env(safe-area-inset-top));
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10
}

.loading-spinner[data-v-154eb8e5] {
    color: #fff;
    text-align: center
}

.spinner[data-v-154eb8e5] {
    animation: spin-154eb8e5 1s linear infinite;
    border: 4px solid hsla(0,0%,100%,.3);
    border-radius: 50%;
    border-top-color: #fff;
    height: 40px;
    margin: 0 auto 16px;
    width: 40px
}

@keyframes spin-154eb8e5 {
    0% {
        transform: rotate(0)
    }

    to {
        transform: rotate(1turn)
    }
}

.loading-text[data-v-154eb8e5] {
    font-size: 16px;
    margin: 0
}

.error-overlay[data-v-154eb8e5] {
    align-items: center;
    background: #000000e6;
    display: flex;
    height: calc(var(--app-vh, 1vh)*100 - var(--play-header-h) - env(safe-area-inset-top));
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10
}

.error-content[data-v-154eb8e5] {
    color: #fff;
    max-width: 400px;
    padding: 20px;
    text-align: center
}

.error-content h3[data-v-154eb8e5] {
    font-size: 24px;
    margin: 0 0 16px
}

.error-content p[data-v-154eb8e5] {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 20px
}

.retry-button[data-v-154eb8e5] {
    background: #007bff;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 12px 24px;
    transition: background-color .3s
}

.retry-button[data-v-154eb8e5]:hover {
    background: #0056b3
}

.deposit-aside[data-v-154eb8e5] {
    background: #00000059;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .2s ease;
    z-index: 10050
}

.deposit-aside.is-open[data-v-154eb8e5] {
    opacity: 1;
    pointer-events: auto
}

.deposit-panel[data-v-154eb8e5] {
    background: var(--BG-Surface,#111);
    box-shadow: 0 10px 30px #00000073;
    color: var(--Text-Icon-Body,#fff);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(100%);
    transition: transform .25s ease;
    width: min(680px,50vw)
}

.deposit-aside.is-open .deposit-panel[data-v-154eb8e5] {
    transform: translate(0)
}

@media(max-width: 768px) {
    .deposit-panel[data-v-154eb8e5] {
        border-top-left-radius:14px;
        border-top-right-radius: 14px;
        height: calc(var(--app-vh, 1vh)*70);
        inset: auto 0 0;
        max-height: calc(var(--app-vh, 1vh)*60 - env(safe-area-inset-top));
        transform: translateY(100%);
        width: 100%
    }

    .deposit-aside.is-open .deposit-panel[data-v-154eb8e5] {
        transform: translateY(0)
    }
}

.deposit-panel__header[data-v-154eb8e5] {
    align-items: center;
    -webkit-backdrop-filter: saturate(1.2) blur(6px);
    backdrop-filter: saturate(1.2) blur(6px);
    background: var(--card-primary);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
    position: sticky;
    top: 0;
    z-index: 1
}

.deposit-panel__title[data-v-154eb8e5] {
    font-size: 18px;
    font-weight: 700
}

.deposit-panel__body[data-v-154eb8e5] {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--card-primary);
    padding: 8px
}

.switch[data-v-154eb8e5] {
    display: inline-block;
    height: 26px;
    position: relative;
    width: 46px
}

.switch input[data-v-154eb8e5] {
    height: 0;
    opacity: 0;
    width: 0
}

.slider[data-v-154eb8e5] {
    background-color: #ffffff40;
    border-radius: 999px;
    cursor: pointer;
    inset: 0
}

.slider[data-v-154eb8e5],.slider[data-v-154eb8e5]:before {
    position: absolute;
    transition: .2s
}

.slider[data-v-154eb8e5]:before {
    background-color: #fff;
    border-radius: 50%;
    bottom: 3px;
    content: "";
    height: 20px;
    left: 3px;
    width: 20px
}

.switch input:checked+.slider[data-v-154eb8e5] {
    background-color: #22c55e
}

.switch input:checked+.slider[data-v-154eb8e5]:before {
    transform: translate(20px)
}
  #deposit-content a {
    display: contents;
  }
  
.custom-modal:not(.hidden) .modal-overlay {
    animation: fadeIn 0.25s ease-out forwards;
}

.custom-modal:not(.hidden) .modal-panel {
    position: relative; 
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-animate-in {
    animation: toastFadeIn 0.3s ease-out forwards;
}
.toast-animate-out {
    animation: toastFadeOut 0.3s ease-in forwards;
}

@keyframes toastFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        top: 40px; 
    }
    to {
        opacity: 1;
        top: 0px;  
    }
}

/* CSS แอนิเมชันของ Toast */
.toast-animate-in { animation: toastFadeIn 0.3s ease-out forwards; }
.toast-animate-out { animation: toastFadeOut 0.3s ease-in forwards; }
@keyframes toastFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastFadeOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }


/* 1. สำหรับฉากหลังสีดำ ค่อยๆ เฟดดำขึ้นมา */
.custom-modal:not(.hidden) .modal-overlay {
    animation: fadeIn 0.25s ease-out forwards;
}

/* 2. สำหรับตัวกล่องข้อความ ให้ค่อยๆ เฟด และขยับเลื่อนขึ้นมา */
.custom-modal:not(.hidden) .modal-panel {
    position: relative; /* เปิดทำงานระบบพิกัด */
    animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 🎬 คีย์เฟรมแอนิเมชันแบบใหม่ (ไม่ตีกับ Tailwind) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        top: 40px; /* เริ่มต้นโดยจมลงไปข้างล่าง 40px */
    }
    to {
        opacity: 1;
        top: 0px;  /* เลื่อนกลับขึ้นมาตำแหน่งปกติ */
    }
}

/* CSS สำหรับปุ่มนิ่งๆ */
#submit_withdraw { position: relative; transition: width 0.2s; }
.spinner-icon {
        width: 20px; height: 20px;
        border: 3px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 1s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    
    /* จองความสูงให้ปุ่มคงที่ */
    #submit_withdraw {
        min-height: 50px; /* ปรับค่าตามความสูงปุ่มจริงของมึง */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ทำให้ Spinner อยู่ตำแหน่งเดิมเป๊ะๆ */
    .spinner-icon {
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 1s linear infinite;
    }

    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    
#profile-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

#profile-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.font-medium {
    font-weight: 300;
    color: #fff;
}

.toast-animate-in {
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.toast-animate-out {
  animation: fadeOutRight 0.3s ease-in forwards;
}

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 640px) {
  section[aria-label="Notifications alt+T"] {
    right: 16px !important;
    left: 16px !important; 
    width: calc(100% - 32px) !important; 
  }
}

.animate-smooth-spin {
  animation: smoothRotation 0.8s linear infinite;
}
@keyframes smoothRotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.custom-btn-component.disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
  pointer-events: none;
}

  .btn[data-v-3dd10c0e] {
    background: linear-gradient(180deg,#80b6f4,#0088d5);
    border-radius: 10px;
    box-shadow: inset 0 6px 8px #fff6;
    display: grid;
    padding: 12px 1rem;
    place-items: center
}

.text[data-v-3dd10c0e] {
    font-size: 16px;
    font-style: normal;
    font-weight: 600
}

.btn[data-v-dbcea2c9] {
    background: linear-gradient(180deg,#f2cc47,#eb7a13);
    place-items: center
}

.btn[data-v-dbcea2c9],.btn-disabled[data-v-dbcea2c9] {
    border-radius: 10px;
    box-shadow: inset 0 6px 8px #fff6;
    display: grid;
    padding: 12px 1rem
}

.btn-disabled[data-v-dbcea2c9] {
    background: var(--btn-disabled);
    place-items: center;
    pointer-events: none
}

.text[data-v-dbcea2c9] {
    font-size: 16px;
    font-style: normal;
    font-weight: 600
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.25s ease;
}

<style>
.font-medium {
    font-weight: 300;
    color: #fff;
}

.toast-animate-in {
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.toast-animate-out {
  animation: fadeOutRight 0.3s ease-in forwards;
}

@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 640px) {
  section[aria-label="Notifications alt+T"] {
    right: 16px !important;
    left: 16px !important; 
    width: calc(100% - 32px) !important; 
  }
}

.animate-smooth-spin {
  animation: smoothRotation 0.8s linear infinite;
}
@keyframes smoothRotation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.custom-btn-component.disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
  pointer-events: none;
}

    @keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.animate-modal-in {
  animation: modalIn 0.2s ease-out forwards;
}

  .splide__arrow svg {
    fill: #ff000000;
    height: 1.2em;
    width: 1.2em;
}
.splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: #ff000000;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 2em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    z-index: 1;
}
.text-\[19px\] {
    font-size: 25px;
    line-height: 1;
}

  .dark\:bg-gray-800\/75:is(.dark *) {
    background-color: rgb(0 0 0 / 75%);
}

  .font-bold {
    font-weight: 400;
}

/* สร้าง Animation เลื่อนจากขวา */
@keyframes slideRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* คลาสที่จะเอาไปแปะให้ Modal */
.modal-slide-in {
    animation: slideRight 0.4s ease-out forwards;
}

/* Animation สำหรับการเลื่อนเข้าจากขวา */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}
.font-medium {
    font-weight: 400;
    color: #fff;
}

  .splide__arrow svg {
    fill: #ff000000;
    height: 1.2em;
    width: 1.2em;
}
.splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: #ff000000;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 2em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    z-index: 1;
}
.text-\[19px\] {
    font-size: 25px;
    line-height: 1;
}

  @media (min-width: 768px) {
  .close-toast {
    display: none !important;
  }
}
.animate__animated.animate__slow {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-duration: calc(var(--animate-duration) * 2);
    animation-duration: calc(var(--animate-duration) * 2);
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
    animation-iteration-count: infinite;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 28px;
    width: 28px;
}