:root {
	--theme-primary:#2e2e33;
--theme-secondary:#000000;
--theme-text:#fae07e;
--theme-background:url("");
--nav-button-primary-default-primary:#404040;
--nav-button-primary-default-secondary:#373434;
--nav-button-primary-default-text:#fae07e;
--nav-button-primary-hover-primary:#5d5b5b;
--nav-button-primary-hover-secondary:#000000;
--nav-button-primary-hover-text:#fae07e;
--nav-button-secondary-default-primary:#5d5b5b;
--nav-button-secondary-default-secondary:#000000;
--nav-button-secondary-default-text:#fae07e;
--nav-button-secondary-hover-primary:#5d5b5b;
--nav-button-secondary-hover-secondary:#000000;
--nav-button-secondary-hover-text:#fae07e;
--nav-button-third-default-primary:#ffea00;
--nav-button-third-default-secondary:#000000;
--nav-button-third-default-text:#000000;
--nav-button-third-hover-primary:#334bff;
--nav-button-third-hover-secondary:#ffffff;
--nav-button-third-hover-text:#000000;
--nav-button-fourth-default-primary:#222222;
--nav-button-fourth-default-secondary:#222222;
--nav-button-fourth-default-text:#000000;
--nav-button-fourth-hover-primary:#000000;
--nav-button-fourth-hover-secondary:#000000;
--nav-button-fourth-hover-text:#000000;
--nav-text-primary-primary:#ffffff;
--nav-text-primary-secondary:#ffffff;
--nav-text-secondary-primary:#fafafa;
--nav-text-secondary-secondary:#ffffff;
--nav-text-third-primary:#ffffff;
--nav-text-third-secondary:#ffffff;
--nav-text-fourth-primary:#ffffff;
--nav-text-fourth-secondary:#ffffff;
--slide-button-primary-default-primary:#5c5c5c;
--slide-button-primary-default-secondary:#12152a;
--slide-button-primary-default-text:#ffffff;
--slide-button-primary-hover-primary:#000000;
--slide-button-primary-hover-secondary:#000000;
--slide-button-primary-hover-text:#000000;
--slide-button-secondary-default-primary:#004cab;
--slide-button-secondary-default-secondary:#282828;
--slide-button-secondary-default-text:#ffffff;
--slide-button-secondary-hover-primary:#000000;
--slide-button-secondary-hover-secondary:#000000;
--slide-button-secondary-hover-text:#000000;
--slide-button-third-default-primary:#004cab;
--slide-button-third-default-secondary:#282828;
--slide-button-third-default-text:#ffffff;
--slide-button-third-hover-primary:#e0245e;
--slide-button-third-hover-secondary:#e0245e;
--slide-button-third-hover-text:#ffffff;
--slide-button-fourth-default-primary:#222222;
--slide-button-fourth-default-secondary:#1f103d;
--slide-button-fourth-default-text:#ffffff;
--slide-button-fourth-hover-primary:#000000;
--slide-button-fourth-hover-secondary:#000000;
--slide-button-fourth-hover-text:#000000;
--slide-text-primary-primary:#ff6f00;
--slide-text-primary-secondary:#ffa000;
--slide-text-secondary-primary:#ff8f00;
--slide-text-secondary-secondary:#ffb300;
--slide-text-third-primary:#fdd835;
--slide-text-third-secondary:#ffeb3b;
--slide-text-fourth-primary:#c2185b;
--slide-text-fourth-secondary:#d81b60;
--content-button-primary-default-primary:#3a3833;
--content-button-primary-default-secondary:#121214;
--content-button-primary-default-text:#ffffff;
--content-button-primary-hover-primary:#ffffff;
--content-button-primary-hover-secondary:#000000;
--content-button-primary-hover-text:#000000;
--content-button-secondary-default-primary:#ae0a0a;
--content-button-secondary-default-secondary:#ff03a7;
--content-button-secondary-default-text:#ffffff;
--content-button-secondary-hover-primary:#000000;
--content-button-secondary-hover-secondary:#000000;
--content-button-secondary-hover-text:#000000;
--content-button-third-default-primary:#004cab;
--content-button-third-default-secondary:#282828;
--content-button-third-default-text:#000000;
--content-button-third-hover-primary:#000000;
--content-button-third-hover-secondary:#000000;
--content-button-third-hover-text:#000000;
--content-button-fourth-default-primary:#000000;
--content-button-fourth-default-secondary:#2c07e4;
--content-button-fourth-default-text:#ffffff;
--content-button-fourth-hover-primary:#000000;
--content-button-fourth-hover-secondary:#000000;
--content-button-fourth-hover-text:#000000;
--content-text-primary-primary:#ffffff;
--content-text-primary-secondary:#e0245f;
--content-text-secondary-primary:#e0245f;
--content-text-secondary-secondary:#ffffff;
--content-text-third-primary:#ffee00;
--content-text-third-secondary:#ff0000;
--content-text-fourth-primary:#ffffff;
--content-text-fourth-secondary:#000000;
--popup-button-primary-default-primary:#404040;
--popup-button-primary-default-secondary:#373434;
--popup-button-primary-default-text:#fae07e;
--popup-button-primary-hover-primary:#ffffff;
--popup-button-primary-hover-secondary:#000000;
--popup-button-primary-hover-text:#000000;
--popup-button-secondary-default-primary:#e6d19b;
--popup-button-secondary-default-secondary:#bba06b;
--popup-button-secondary-default-text:#ffffff;
--popup-button-secondary-hover-primary:#bba06b;
--popup-button-secondary-hover-secondary:#e6d19b;
--popup-button-secondary-hover-text:#ffffff;
--popup-button-third-default-primary:#ff0039;
--popup-button-third-default-secondary:#2e1919;
--popup-button-third-default-text:#ffffff;
--popup-button-third-hover-primary:#2e1919;
--popup-button-third-hover-secondary:#ff0039;
--popup-button-third-hover-text:#ffffff;
--popup-button-fourth-default-primary:#000000;
--popup-button-fourth-default-secondary:#000000;
--popup-button-fourth-default-text:#000000;
--popup-button-fourth-hover-primary:#000000;
--popup-button-fourth-hover-secondary:#000000;
--popup-button-fourth-hover-text:#000000;
--popup-text-primary-primary:#000000;
--popup-text-primary-secondary:#000000;
--popup-text-secondary-primary:#000000;
--popup-text-secondary-secondary:#000000;
--popup-text-third-primary:#000000;
--popup-text-third-secondary:#000000;
--popup-text-fourth-primary:#000000;
--popup-text-fourth-secondary:#000000;
--logindaily-button-primary-default-primary:#000000;
--logindaily-button-primary-default-secondary:#000000;
--logindaily-button-primary-default-text:#ffffff;
--logindaily-button-primary-hover-primary:#000000;
--logindaily-button-primary-hover-secondary:#000000;
--logindaily-button-primary-hover-text:#ffffff;
--logindaily-button-secondary-default-primary:#ffffff;
--logindaily-button-secondary-default-secondary:#ffffff;
--logindaily-button-secondary-default-text:#000000;
--logindaily-button-secondary-hover-primary:#ffffff;
--logindaily-button-secondary-hover-secondary:#ffffff;
--logindaily-button-secondary-hover-text:#000000;
--logindaily-button-third-default-primary:#f52e2e;
--logindaily-button-third-default-secondary:#040000;
--logindaily-button-third-default-text:#ffffff;
--logindaily-button-third-hover-primary:#040000;
--logindaily-button-third-hover-secondary:#f52e2e;
--logindaily-button-third-hover-text:#ffffff;
--logindaily-button-fourth-default-primary:#000000;
--logindaily-button-fourth-default-secondary:#000000;
--logindaily-button-fourth-default-text:#000000;
--logindaily-button-fourth-hover-primary:#000000;
--logindaily-button-fourth-hover-secondary:#000000;
--logindaily-button-fourth-hover-text:#000000;
--logindaily-text-primary-primary:#000000;
--logindaily-text-primary-secondary:#000000;
--logindaily-text-secondary-primary:#000000;
--logindaily-text-secondary-secondary:#000000;
--logindaily-text-third-primary:#000000;
--logindaily-text-third-secondary:#000000;
--logindaily-text-fourth-primary:#000000;
--logindaily-text-fourth-secondary:#000000;
--footer-button-primary-default-primary:#000000;
--footer-button-primary-default-secondary:#434546;
--footer-button-primary-default-text:#ffffff;
--footer-button-primary-hover-primary:#000000;
--footer-button-primary-hover-secondary:#000000;
--footer-button-primary-hover-text:#000000;
--footer-button-secondary-default-primary:#4155e6;
--footer-button-secondary-default-secondary:#000000;
--footer-button-secondary-default-text:#000000;
--footer-button-secondary-hover-primary:#000000;
--footer-button-secondary-hover-secondary:#000000;
--footer-button-secondary-hover-text:#000000;
--footer-button-third-default-primary:#000000;
--footer-button-third-default-secondary:#000000;
--footer-button-third-default-text:#000000;
--footer-button-third-hover-primary:#000000;
--footer-button-third-hover-secondary:#000000;
--footer-button-third-hover-text:#000000;
--footer-button-fourth-default-primary:#000000;
--footer-button-fourth-default-secondary:#000000;
--footer-button-fourth-default-text:#000000;
--footer-button-fourth-hover-primary:#000000;
--footer-button-fourth-hover-secondary:#000000;
--footer-button-fourth-hover-text:#000000;
--footer-text-primary-primary:#000000;
--footer-text-primary-secondary:#000000;
--footer-text-secondary-primary:#000000;
--footer-text-secondary-secondary:#000000;
--footer-text-third-primary:#000000;
--footer-text-third-secondary:#000000;
--footer-text-fourth-primary:#000000;
--footer-text-fourth-secondary:#000000;
--button-primary-default-primary:#3a3833;
--button-primary-default-secondary:#121214;
--button-primary-default-text:#ffffff;
--button-primary-hover-primary:#001219;
--button-primary-hover-secondary:#000000;
--button-primary-hover-text:#000000;
--button-secondary-default-primary:#d3df2a;
--button-secondary-default-secondary:#ffae00;
--button-secondary-default-text:#ffffff;
--button-secondary-hover-primary:#00ff33;
--button-secondary-hover-secondary:#000000;
--button-secondary-hover-text:#ffffff;
--button-third-default-primary:#000000;
--button-third-default-secondary:#000000;
--button-third-default-text:#000000;
--button-third-hover-primary:#000000;
--button-third-hover-secondary:#000000;
--button-third-hover-text:#000000;
--button-fourth-default-primary:#000000;
--button-fourth-default-secondary:#000000;
--button-fourth-default-text:#000000;
--button-fourth-hover-primary:#000000;
--button-fourth-hover-secondary:#000000;
--button-fourth-hover-text:#000000;
}/* ==========================================================================
   TIGER template - look: UIGameHub/tiger design (dark / gold, Kanit),
   function: royal (routes, Bootstrap modals, jQuery logic).
   Page design CSS is scoped under .tgx; Bootstrap modals are styled globally.
   ========================================================================== */
/* ==========================================================================
   TIGER template - guest + member styles (design: UIGameHub/tiger/index.html)
   Design CSS is scoped under .tgx so host / Bootstrap pieces are untouched.
   ========================================================================== */
.tgx {
    --bg-body: #4d3d18;
    --bg-app: #0d0e12;
    --card-bg: #181a20;
    --gold-gradient: linear-gradient(135deg, #e6c875 0%, #b88728 100%);
    --gold-light: #e6c875;
    --text-color: #ffffff;
    --text-muted: #8e95a5;
    --border-color: rgba(255, 255, 255, 0.08);
}
.tgx,
.tgx * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
:where(.tgx, .tgx *) {
    font-family: 'Kanit', sans-serif;
}
.tgx {
    background: radial-gradient(circle at top, #6b5522 0%, #29200b 100%);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}
.tgx .app-wrapper {
    width: 100%;
    max-width: 520px;
    background-color: var(--bg-app);
    min-height: 100vh;
    position: relative;
    padding-bottom: 110px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(230, 200, 117, 0.15);
    border-right: 1px solid rgba(230, 200, 117, 0.15);
}
.tgx .header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    background-color: #0b0c10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tgx .header .logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tgx .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tgx .btn-line {
    background-color: #06c755;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
}
.tgx .banner-section {
    padding: 0;
}
.tgx .bannerSwiper {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
}
.tgx .bannerSwiper .swiper-slide {
    width: 100%;
}
.tgx .banner-slide-item {
    width: 100%;
    display: block;
    line-height: 0;
}
.tgx .banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}
.tgx .bannerSwiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}
.tgx .bannerSwiper .swiper-pagination-bullet-active {
    background: #e6c875;
    opacity: 1;
    width: 22px;
    border-radius: 4px;
}
/* Auth Form Panels */
.tgx .sticky-controls {
    position: sticky;
    top: 56px;
    z-index: 95;
    background-color: var(--bg-app);
    padding-top: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.2s ease;
}
.tgx .sticky-controls.is-pinned {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.85);
    border-bottom-color: rgba(230, 200, 117, 0.25);
}
.tgx .auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px 12px;
}
.tgx .btn-auth {
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.1s;
}
.tgx .btn-auth:active {
    transform: scale(0.98);
}
.tgx .btn-login {
    background: var(--gold-gradient);
    color: #1a1300;
    font-weight: 600;
}
.tgx .btn-register {
    background-color: #14161d;
    color: #fff;
    border: 1px solid rgba(230, 200, 117, 0.45);
}
.tgx .quick-menu {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding: 0 16px;
}
.tgx .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.tgx .menu-icon {
    width: 50px;
    height: 50px;
    background: #181a20;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 5px;
    transition: all 0.2s;
}
.tgx .menu-item:hover .menu-icon {
    border-color: var(--gold-light);
    color: var(--gold-light);
}
.tgx .menu-item span {
    font-size: 0.7rem;
    color: #d0d5e0;
    line-height: 1.15;
}
.tgx .withdraw-section {
    padding: 16px;
    overflow: hidden;
}
.tgx .section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.tgx .withdrawSwiper {
    width: 100%;
    overflow: hidden;
}
.tgx .withdrawSwiper .swiper-slide {
    width: auto;
}
.tgx .withdraw-card {
    width: 250px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.tgx .withdraw-top {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.tgx .bank-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: -0.3px;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.tgx .bank-citi {
    background: #004785;
}
.tgx .bank-scb {
    background: #4e2b82;
}
.tgx .bank-lh {
    background: #6c6d70;
}
.tgx .bank-kbank {
    background: #138f2d;
}
.tgx .bank-bbl {
    background: #1e3f8a;
}
.tgx .bank-ktb {
    background: #1ba5e1;
}
.tgx .withdraw-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.tgx .withdraw-info .acc {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}
.tgx .withdraw-info .ref {
    font-size: 0.67rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-top: 3px;
}
.tgx .withdraw-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.tgx .withdraw-bottom .time {
    color: var(--text-muted);
    font-size: 0.68rem;
    white-space: nowrap;
}
.tgx .withdraw-bottom .amount {
    color: #2ed573;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    text-align: right;
}
.tgx .game-showcase {
    display: flex;
    padding: 0 16px 20px;
    gap: 14px;
    align-items: flex-start;
}
.tgx .category-sidebar {
    width: 74px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 210px;
    user-select: none;
    height: calc(100vh - 230px);
    max-height: 520px;
}
.tgx .cat-arrow {
    width: 100%;
    text-align: center;
    color: #8e95a5;
    font-size: 0.9rem;
    padding: 6px 0;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
}
.tgx .cat-arrow:hover {
    color: var(--gold-light);
}
.tgx .cat-list-scroll {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 0;
}
.tgx .cat-list-scroll::-webkit-scrollbar {
    display: none;
}
.tgx .cat-item {
    width: 100%;
    min-height: 68px;
    flex-shrink: 0;
    background-color: #17191f;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    color: #d0d5e0;
    cursor: pointer;
    transition: all 0.2s;
}
.tgx .cat-item i {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 5px;
    color: #c7b994;
}
.tgx .cat-item.active {
    background: linear-gradient(160deg, #ebd187 0%, #9b7424 100%);
    color: #ffffff;
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(184, 135, 40, 0.3);
}
.tgx .cat-item.active i {
    color: #ffffff;
}
.tgx .category-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.tgx .game-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.tgx .game-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}
.tgx .game-group-title i {
    color: var(--gold-light);
}
.tgx .slider-controls {
    display: flex;
    gap: 12px;
}
.tgx .slider-btn {
    background: none;
    border: none;
    color: #d0d5e0;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s;
}
.tgx .slider-btn:hover {
    color: var(--gold-light);
}
.tgx .swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 4px;
}
.tgx .swiper-slide.game-card-slide {
    width: auto;
    cursor: pointer;
}
.tgx .game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #14161d;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tgx .game-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 200, 117, 0.6);
    box-shadow: 0 6px 18px rgba(230, 200, 117, 0.2);
}
.tgx .game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tgx .game-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tgx .game-provider {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.tgx .swiper-slide.lotto-card-slide,
.tgx .swiper-slide.casino-card-slide {
    width: auto;
    cursor: pointer;
}
.tgx .lotto-thumb,
.tgx .casino-thumb {
    width: 100%;
    aspect-ratio: 210 / 120;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #14161d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tgx .lotto-thumb:hover,
.tgx .casino-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 200, 117, 0.6);
    box-shadow: 0 6px 18px rgba(230, 200, 117, 0.2);
}
.tgx .lotto-thumb img,
.tgx .casino-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tgx .lotto-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tgx .lotto-provider {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.tgx .providers-section {
    padding: 0 16px 24px;
}
.tgx .providers-header {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.tgx .providers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.tgx .provider-card {
    background: transparent;
    border: none;
    box-shadow: none;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    cursor: default;
}
.tgx .provider-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.tgx .top-players-section {
    padding: 0 16px 24px;
}
.tgx .ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.tgx .ranking-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.tgx .ranking-select {
    background: #181a20;
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
}
.tgx .ranking-table {
    background: #15171d;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}
.tgx .ranking-table-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background: #111318;
    position: relative;
    z-index: 2;
}
.tgx .ranking-table-header div:last-child {
    text-align: right;
}
.tgx .ranking-table-body {
    height: 255px;
    overflow: hidden;
    position: relative;
}
.tgx .ranking-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.82rem;
    height: 51px;
    box-sizing: border-box;
    background: #15171d;
}
.tgx .ranking-row .col-game {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}
.tgx .mini-game-thumb {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tgx .ranking-row .col-player {
    color: #c0c6d4;
}
.tgx .ranking-row .col-amount {
    text-align: right;
    color: #2ecc71;
    font-weight: 600;
}
.tgx .app-footer-section {
    padding: 20px 16px 24px;
    background-color: #0b0c10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
}
.tgx .footer-contact-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}
.tgx .footer-line-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #06c755;
    color: #fff;
    border-radius: 10px;
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
}
.tgx .footer-line-badge:hover {
    transform: scale(1.05);
    background-color: #05b34c;
}
.tgx .footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
}
.tgx .footer-main-text {
    font-size: 0.88rem;
    color: #e0e0e0;
    margin-bottom: 16px;
}
.tgx .footer-links-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #8e95a5;
    margin-bottom: 24px;
}
.tgx .footer-links-row a {
    color: #8e95a5;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.tgx .footer-links-row a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}
.tgx .footer-powered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #8e95a5;
}
.tgx .footer-powered span {
    color: #ff3b30;
    font-weight: 700;
    font-family: monospace;
    font-size: 0.95rem;
}
.tgx .floating-side-widget {
    position: fixed;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    z-index: 120;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tgx .floating-side-widget.collapsed {
    transform: translate(54px, -50%);
}
.tgx .side-toggle-ear {
    width: 26px;
    height: 66px;
    background: var(--gold-gradient);
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.5);
}
.tgx .floating-side-widget.collapsed .side-toggle-ear i {
    transform: rotate(180deg);
}
.tgx .side-widget-box {
    background: #23262d;
    border: 3px solid #d4b263;
    border-right: none;
    border-radius: 14px 0 0 14px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.7);
}
.tgx .side-widget-btn {
    color: #d8d3c8;
    font-size: 1.35rem;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
.tgx .side-widget-btn:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}
.tgx .bottom-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 520px;
    height: 74px;
    z-index: 110;
    pointer-events: none;
}
.tgx .footer-curve-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 -4px 12px rgba(0, 0, 0, 0.75));
}
.tgx .bottom-nav-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding-bottom: 8px;
    pointer-events: auto;
}
.tgx .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    gap: 4px;
    height: 100%;
    padding-bottom: 2px;
    transition: color 0.2s;
}
.tgx .nav-item i {
    font-size: 1.4rem;
    color: #ffffff;
    transition: color 0.2s, transform 0.2s;
}
.tgx .nav-item.active {
    color: #e5c165;
}
.tgx .nav-item.active i {
    color: #e5c165;
}
.tgx .nav-item:hover i {
    transform: translateY(-2px);
}
.tgx .line-square-icon {
    width: 25px;
    height: 25px;
    background: #ffffff;
    color: #3b2d13;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1px;
}
.tgx .nav-item.active .line-square-icon {
    background: #e5c165;
}
.tgx .nav-item .line-square-icon i,
.tgx .nav-item.active .line-square-icon i {
    color: #3b2d13;
    font-size: 1.15rem;
}
.tgx .nav-center-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    position: relative;
    height: 100%;
    padding-bottom: 2px;
}
.tgx .center-floating-btn {
    position: absolute;
    top: -28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e5CA7A 0%, #9A7832 100%);
    border: 2px solid #f7e2a4;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.tgx .nav-center-slot:hover .center-floating-btn {
    transform: translateY(-2px) scale(1.03);
}
.tgx .center-user-inner {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b4924c;
    font-size: 1.25rem;
}
.tgx .nav-center-slot span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: auto;
}
/* Custom Modal for Links */
/* Promotion Section & Details */
    /* ==========================================================================
   Host integration (Bootstrap reboot neutralisers) + components added for
   the real-data wiring and the member area - same tokens as the design.
   ========================================================================== */
body:has(> .tgx){background:#29200b}
.tgx{line-height:normal;font-size:16px;text-align:left;overflow-wrap:break-word}
.tgx .app-wrapper{overflow-x:clip}
.tgx h1,.tgx h2,.tgx h3,.tgx h4,.tgx h5,.tgx h6{font-weight:700;line-height:normal;color:inherit}
.tgx a{color:inherit;text-decoration:none}
.tgx img{vertical-align:baseline}
.tgx button{font-family:inherit;line-height:normal}
.tgx label{display:flex}
.tgx template{display:none}
.tgx .tgx-gold{color:var(--gold-light)}
.tgx .tgx-empty{grid-column:1/-1;padding:24px 8px;text-align:center;color:var(--text-muted);font-size:.82rem}
.tgx .header .logo img{display:block;height:40px;width:auto;max-width:170px;object-fit:contain}
.tgx .bank-badge img{width:28px;height:28px;object-fit:contain;display:block}
.tgx .provider-card span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:700;letter-spacing:.4px;color:#d8d8d8;text-transform:uppercase}
.tgx .tgx-winrate{position:absolute;left:5px;right:5px;bottom:5px;z-index:1;height:14px;border-radius:7px;background:rgba(0,0,0,.65);overflow:hidden;font-size:.55rem;line-height:14px;text-align:center}
.tgx .tgx-winrate i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#b88728,#e6c875);border-radius:7px}
.tgx .tgx-winrate em{position:relative;font-style:normal;color:#fff;text-shadow:0 0 2px #000;white-space:nowrap}
.tgx .tgx-group-swiper .swiper-slide{min-width:0}
.tgx .tgx-footer-social{display:flex;flex-wrap:wrap;gap:10px}
.tgx .tgx-footer-social .footer-line-badge{margin-bottom:0}
.tgx .tgx-social-telegram{background-color:#229ed9}
.tgx .tgx-social-facebook{background-color:#1877f2}
.tgx .tgx-social-phone{background-color:#b88728}
.tgx .tgx-social-site,.tgx .tgx-social-twitter,.tgx .tgx-social-tiktok,.tgx .tgx-social-discord{background-color:#2b2e36}
.tgx .tgx-footer-social .footer-line-badge:not(.tgx-social-line){box-shadow:0 4px 12px rgba(0,0,0,.3)}
.tgx .footer-main-text p{margin:0 0 6px}
.tgx .tgx-copyright{color:#8e95a5;text-align:center}
.tgx .tgx-balance-wrap{padding:12px 16px 2px}
.tgx .tgx-balance{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#1d1a12 0%,#14161d 60%);border:1px solid rgba(230,200,117,.3);border-radius:14px;box-shadow:0 6px 20px rgba(0,0,0,.5)}
.tgx .tgx-bal-main{min-width:0}
.tgx .tgx-bal-user{display:flex;align-items:center;gap:6px;font-size:.8rem;color:#c0c6d4}
.tgx .tgx-bal-user .fa-circle-user{color:var(--gold-light)}
.tgx .tgx-copy{cursor:pointer}
.tgx .tgx-bal-user .tgx-copy:hover{color:var(--gold-light)}
.tgx .tgx-bal-credit{display:flex;align-items:baseline;gap:6px;margin-top:4px;font-size:1.35rem;font-weight:700;color:var(--gold-light);cursor:pointer;white-space:nowrap}
.tgx .tgx-bal-credit small{font-size:.75rem;color:#fff;font-weight:500}
.tgx .tgx-bal-credit i{font-size:.85rem;color:#c0c6d4}
.tgx .tgx-bal-point{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;padding:6px 10px;border-radius:10px;background:#181a20;border:1px solid var(--border-color);font-size:.7rem;color:#c0c6d4;cursor:pointer}
.tgx .tgx-bal-point b{font-size:1rem;color:#fff}
.tgx .tgx-bal-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.tgx .tgx-bal-chip{display:flex;flex-direction:column;gap:2px;padding:7px 10px;border-radius:10px;background:#181a20;border:1px solid var(--border-color);font-size:.66rem;color:#8e95a5;cursor:pointer;min-width:0}
.tgx .tgx-bal-chip b{font-size:.85rem;color:var(--gold-light);font-weight:600}
.tgx .tgx-bal-chip:hover,.tgx .tgx-bal-point:hover{border-color:rgba(230,200,117,.5)}
.tgx .btn-auth i{margin-right:4px}

/* ==========================================================================
   Royal features (routes, game view, drawer, modals, popups, loader, game
   frame) re-skinned in the tiger dark / gold style.
   ========================================================================== */
:root {
    --tg-gold: #e6c875;
    --tg-gold-grad: linear-gradient(135deg, #e6c875 0%, #b88728 100%);
    --tg-bg: #0d0e12;
    --tg-card: #181a20;
    --tg-card2: #1c1f28;
    --tg-muted: #8e95a5;
    --tg-line: rgba(255, 255, 255, 0.08);
    --tg-goldline: rgba(230, 200, 117, 0.3);
}
.tgx .withdraw-card, .tgx .withdraw-section, .tgx .ranking-table-header { cursor: default; }

/* ---------- header buttons ---------- */
.tgx .tg-head-btn {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: #1c1f26; border: 1px solid var(--tg-goldline);
    color: var(--tg-gold); font-size: 1rem; cursor: pointer;
}
.tgx .tg-head-btn:hover { background: #262a33; }
.tgx .header .logo { cursor: pointer; }

/* ---------- announce marquee ---------- */
.tgx .tg-marquee { display: flex; align-items: center; gap: 8px; padding: 7px 14px; background: #121419; border-bottom: 1px solid var(--tg-line); overflow: hidden; font-size: .8rem; color: #d8d8d8; }
.tgx .tg-marquee > i { color: var(--tg-gold); flex: 0 0 auto; }
.tgx .tg-marquee-track { flex: 1; overflow: hidden; white-space: nowrap; }
.tgx .tg-marquee-track span { display: inline-block; padding-left: 100%; animation: tgMarquee 22s linear infinite; }
@keyframes tgMarquee { to { transform: translateX(-100%); } }

/* ---------- quick menu / sticky ---------- */
.tgx .quick-menu .menu-item, .tgx .btn-auth { cursor: pointer; }

/* ---------- showcase: game group extras ---------- */
.tgx .game-group-title { cursor: pointer; }
.tgx .tg-viewall { font-size: .72rem; color: var(--tg-gold); cursor: pointer; margin-right: 6px; white-space: nowrap; }
.tgx .tg-viewall:hover { text-decoration: underline; }
.tgx .slider-controls { align-items: center; }
.tgx .tgx-fav { position: absolute; top: 6px; right: 6px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .6); font-size: .8rem; }
.tgx .tgx-fav .gamefavorite { cursor: pointer; }
.tgx .casino-thumb, .tgx .lotto-thumb { position: relative; }

/* ---------- showcase game view (royal GameProvider / GameList) ---------- */
.tgx #game-content { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tgx #game-content[style*="none"] { display: none !important; }
.tgx .game-subheader { display: flex; align-items: center; gap: 8px; }
.tgx .tg-back-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--tg-card2); border: 1px solid var(--tg-goldline); color: var(--tg-gold); font-size: .78rem; cursor: pointer; }
.tgx .tg-back-btn:hover { background: #262a33; }
.tgx .breadcrumb-nav { flex: 1; min-width: 0; font-size: .85rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgx .game-search { position: relative; }
.tgx .game-search input { width: 100%; height: 38px; padding: 0 36px 0 12px; border-radius: 10px; background: #121419; border: 1px solid var(--tg-line); color: #fff; font-size: .85rem; font-family: inherit; outline: none; }
.tgx .game-search input:focus { border-color: var(--tg-gold); }
.tgx .game-search input::placeholder { color: var(--tg-muted); }
.tgx .game-search .search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--tg-gold); cursor: pointer; }
.tgx .category-grid, .tgx .game-grid, .tgx .favorite-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tgx .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tgx .favorite-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tgx .category-grid[style*="none"], .tgx .game-grid[style*="none"] { display: none !important; }
.tgx .category-card { position: relative; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #1d1f27 0%, #121419 100%); border: 1px solid var(--tg-line); cursor: pointer; transition: border-color .2s, transform .2s; min-height: 64px; display: flex; flex-direction: column; justify-content: center; }
.tgx .category-card:hover { border-color: rgba(230, 200, 117, .6); transform: translateY(-2px); }
.tgx .category-card-image { width: 100%; height: auto; display: block; }
.tgx .category-card.is-provider { aspect-ratio: 16 / 9; align-items: center; padding: 6px; }
.tgx .category-card.is-provider .category-card-image { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.tgx .category-card .tg-card-name { padding: 4px 6px; font-size: .7rem; text-align: center; color: #d8d8d8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgx .tg-online { position: absolute; top: 0; left: 0; padding: 2px 6px; font-size: .68rem; color: #00ff0a; background: rgba(0, 0, 0, .55); border-radius: 0 0 8px 0; z-index: 1; }
.tgx .tg-online span { color: #fff; padding-left: 3px; }
.tgx .tg-lobby-modes { display: flex; justify-content: space-evenly; background: rgba(184, 135, 40, .85); font-size: .7rem; }
.tgx .tg-lobby-modes > div { flex: 1; text-align: center; padding: 5px 0; cursor: pointer; }
.tgx .game-card, .tgx .favorite-card { position: relative; cursor: pointer; min-width: 0; }
.tgx .game-card-image, .tgx .favorite-card-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: #14161d; transition: transform .2s, border-color .2s; }
.tgx .game-card:hover .game-card-image, .tgx .favorite-card:hover .favorite-card-image { transform: translateY(-3px); border-color: rgba(230, 200, 117, .6); }
.tgx .game-card-title, .tgx .favorite-card-title { margin-top: 5px; font-size: .75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgx .tg-fav-pos { position: absolute; top: 4px; right: 4px; z-index: 2; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 0, 0, .6); font-size: .85rem; }
.tgx .tg-rtp { position: absolute; left: 4px; right: 4px; top: calc(100% - 42px); height: 14px; border-radius: 7px; overflow: hidden; background: #fff; }
.tgx .tg-rtp .progress-bar { height: 100%; font-size: .55rem; line-height: 14px; color: #fff; text-align: center; white-space: nowrap; background: #6c757d; }
.tgx .tg-rtp .progress-bar.bg-warning { background: #d39e00; }
.tgx .tg-rtp .progress-bar.bg-success { background: #198754; }
.tgx #game-favorite { display: flex; flex-direction: column; gap: 10px; }
.tgx #game-favorite[style*="none"] { display: none !important; }
.tgx .tg-sub-title { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; }
.tgx .tg-sub-title i { color: var(--tg-gold); }
.tgx .tg-empty { grid-column: 1 / -1; padding: 22px 8px; text-align: center; color: var(--tg-muted); font-size: .82rem; }

/* ---------- providers / ranking clickable ---------- */
.tgx .provider-card { pointer-events: auto; cursor: pointer; border-radius: 10px; transition: background .2s; }
.tgx .provider-card:hover { background: rgba(230, 200, 117, .08); }
.tgx .ranking-row { cursor: pointer; }
.tgx .ranking-row:hover { background: rgba(230, 200, 117, .06); }

/* ---------- route pages ---------- */
.tgx .route-content[style*="none"] { display: none !important; }
.tgx .tg-page { padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.tgx .tg-page-head { display: flex; align-items: center; gap: 10px; }
.tgx .tg-page-head h1 { font-size: 1.15rem; font-weight: 700; background: var(--tg-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tgx .tg-card { background: var(--tg-card); border: 1px solid var(--tg-line); border-radius: 14px; padding: 14px; }
.tgx .tg-card h5 { font-size: .95rem; font-weight: 600; margin-bottom: 10px; color: var(--tg-gold); }
.tgx .tg-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tgx .tg-list > div { min-width: 0; }
.tgx .content-card { background: var(--tg-card); border: 1px solid var(--tg-line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .2s; }
.tgx .content-card:hover { border-color: rgba(230, 200, 117, .5); }
.tgx .content-card-image { width: 100%; display: block; aspect-ratio: 16 / 8; object-fit: cover; background: #121419; }
.tgx .content-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.tgx .content-card-title { font-size: .95rem; font-weight: 600; color: #fff; }
.tgx .content-card-text { font-size: .8rem; color: #c0c6d4; max-height: 3.6em; overflow: hidden; }
.tgx .content-card-date { font-size: .72rem; color: var(--tg-muted); }
.tgx .btn-select-pro, .btn-select-pro { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 8px; background: var(--tg-gold-grad); color: #1a1408 !important; font-weight: 600; font-size: .85rem; text-decoration: none; border: 0; }
.tgx .tg-richtext { font-size: .88rem; line-height: 1.6; color: #e0e0e0; }
.tgx .tg-richtext p, .tgx .tg-richtext ul, .tgx .tg-richtext ol { margin-bottom: 8px; }
.tgx .tg-richtext ul, .tgx .tg-richtext ol { padding-left: 20px; }
.tgx .tg-richtext img { max-width: 100%; height: auto; }

/* referral */
.tgx .tg-ref-top { display: flex; gap: 14px; align-items: center; }
.tgx .tg-ref-top .qr-code-img img { width: 120px; height: 120px; border-radius: 10px; background: #fff; padding: 6px; display: block; }
.tgx .share-title, .tgx .tg-label { font-size: .8rem; color: var(--tg-muted); margin-bottom: 6px; }
.tgx .social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.tgx .social-icons a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #262a33; color: #fff; font-size: 1rem; }
.tgx .social-icons a:hover { background: var(--tg-gold-grad); color: #1a1408; }
.tgx .tg-input-row { display: flex; gap: 8px; }
.tgx .tg-input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; background: #121419; border: 1px solid var(--tg-line); color: #fff; font-family: inherit; font-size: .8rem; }
.tgx .tg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--tg-gold-grad); color: #1a1408; font-weight: 600; font-size: .85rem; cursor: pointer; white-space: nowrap; }
.tgx .tg-btn.dark { background: var(--tg-card2); color: #fff; border: 1px solid var(--tg-goldline); }
.tgx .tg-btn.block { width: 100%; }
.tgx .income-display { font-size: 1.6rem; font-weight: 700; color: var(--tg-gold); margin: 4px 0 10px; }
.tgx .referral-tabs, .tgx .history-tabs { display: flex; gap: 8px; }
.tgx .referral-tab-item, .tgx .history-tab-item { flex: 1; text-align: center; padding: 9px 6px; border-radius: 10px; background: var(--tg-card2); border: 1px solid var(--tg-line); font-size: .8rem; color: #c0c6d4; cursor: pointer; }
.tgx .referral-tab-item.active, .tgx .history-tab-item.active { background: var(--tg-gold-grad); color: #1a1408; font-weight: 600; border-color: transparent; }
.tgx .overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tgx .stat-item { background: var(--tg-card); border: 1px solid var(--tg-line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.tgx .tg-wl-row { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; padding: 8px 0; border-bottom: 1px dashed var(--tg-line); }
.tgx .tg-wl-row:last-child { border-bottom: 0; }
.tgx .tg-wl-row span { color: var(--tg-muted); }
.tgx .tg-wl-row b { color: var(--tg-gold); text-align: right; }
.tgx .tg-wl-total { justify-content: flex-end; margin-top: 6px; }
.tgx .tg-wl-desc { font-size: .8rem; color: #c0c6d4; }
.tgx .tg-wl-sub { font-size: .8rem; font-weight: 600; color: #fff; margin-top: 8px; }
.tgx .tg-wl-sub:first-of-type { margin-top: 0; }
.tgx .tg-iv-desc { margin-top: 10px; padding: 10px; border: 1px solid var(--tg-line); border-radius: 10px; font-size: .72rem; line-height: 1.5; }
.tgx .tg-wl-desc img { max-width: 100%; height: auto; }
.tgx .income-display small { font-size: .9rem; }
.tgx .stat-label { font-size: .68rem; color: var(--tg-muted); }
.tgx .stat-value { font-size: 1rem; font-weight: 700; color: var(--tg-gold); margin-top: 3px; }
.tgx .tg-table-wrap { overflow-x: auto; }
.tgx .network-table, .tgx .history-table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.tgx .network-table th, .tgx .history-table th { color: var(--tg-gold); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--tg-goldline); text-align: center; white-space: nowrap; }
.tgx .network-table td, .tgx .history-table td { padding: 8px 6px; border-bottom: 1px solid var(--tg-line); text-align: center; color: #e0e0e0; }
.tgx .history-content { display: none; }
.tgx .history-content.active { display: block; }

/* profile */
.tgx .user-info-section { display: flex; align-items: center; gap: 12px; }
.tgx .user-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--tg-gold-grad); color: #1a1408; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex: 0 0 auto; }
.tgx .user-details h5 { font-size: 1rem; margin-bottom: 2px; color: #fff; }
.tgx .user-details p { font-size: .82rem; color: #c0c6d4; }
.tgx .user-details .my-credit { color: var(--tg-gold); font-weight: 700; }
.tgx .user-level-text { font-size: .75rem; color: var(--tg-muted); margin-top: 4px; line-height: 1.5; }
.tgx .bank-card-swiper { margin-top: 12px; }
.tgx .bank-card-slide { background: linear-gradient(135deg, #2a2312 0%, #14161d 70%); border: 1px solid var(--tg-goldline); border-radius: 12px; padding: 12px 14px; }
.tgx .bank-card-slide .account-number { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; }
.tgx .bank-card-slide .bank-logo { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }
.tgx .bank-card-slide .account-name { font-size: .78rem; color: #c0c6d4; margin-top: 6px; }

/* checkin */
.tgx .checkin-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #3a2d10 0%, #14161d 80%); border: 1px solid var(--tg-goldline); }
.tgx .checkin-title-box h1 { font-size: 1.05rem; color: var(--tg-gold); }
.tgx .checkin-title-box p, .tgx .checkin-timer-box span { font-size: .72rem; color: #c0c6d4; }
.tgx .checkin-timer-box { text-align: right; }
.tgx #countdown-timer { font-size: 1.2rem; font-weight: 700; color: #fff; }
.tgx .checkin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tgx .checkin-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--tg-card); border: 1px solid var(--tg-line); font-size: .72rem; }
.tgx .checkin-day .reward-icon { font-size: 1.3rem; color: var(--tg-gold); }
.tgx .checkin-day .reward-amount { font-weight: 700; }
.tgx .checkin-day.claimed { opacity: .5; }
.tgx .checkin-day.claimed::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 4px; right: 6px; color: #2ecc71; }
.tgx .checkin-day.special { border-color: var(--tg-gold); box-shadow: 0 0 12px rgba(230, 200, 117, .35); cursor: pointer; background: linear-gradient(160deg, #3a2d10 0%, #181a20 100%); }
.tgx .checkin-day.notdue { color: var(--tg-muted); }

/* ---------- drawer menu (royal #nav-menu / #mobile-menu-content) ---------- */
#mobile-nav-overlay { position: fixed; inset: 0; z-index: 1040; background: rgba(0, 0, 0, .6); display: none; }
#mobile-nav-overlay.show { display: block; }
.tgx #nav-menu { position: fixed; top: 0; bottom: 0; right: 0; z-index: 1045; width: min(360px, 88vw); background: #101116; border-left: 1px solid var(--tg-goldline); transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; padding: 14px 14px 30px; display: flex; flex-direction: column; gap: 14px; }
.tgx #nav-menu.mobile-nav-show { transform: translateX(0); box-shadow: -10px 0 30px rgba(0, 0, 0, .7); }
.tgx .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; }
.tgx .mobile-menu-header h5 { font-size: 1rem; color: var(--tg-gold); display: flex; gap: 8px; align-items: center; }
.tgx .mobile-menu-header .close-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tg-goldline); background: var(--tg-card2); color: #fff; cursor: pointer; }
.tgx .mobile-menu-section-header { font-size: .82rem; color: var(--tg-muted); margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.tgx .mobile-menu-section-header i { color: var(--tg-gold); }
.tgx .btn-play-game-mobile { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--tg-gold-grad); color: #1a1408; font-weight: 700; font-size: 1rem; cursor: pointer; }
.tgx .finance-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tgx .finance-buttons .btn { height: 42px; border-radius: 10px; font-size: .88rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.tgx .finance-buttons .btn-deposit { background: var(--tg-gold-grad); color: #1a1408; border: 0; }
.tgx .finance-buttons .btn-withdraw { background: var(--tg-card2); color: #fff; border: 1px solid var(--tg-goldline); }
.tgx .activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tgx .activity-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 12px; background: var(--tg-card); border: 1px solid var(--tg-line); font-size: .66rem; text-align: center; color: #e0e0e0; cursor: pointer; line-height: 1.25; }
.tgx .activity-item i { font-size: 1.15rem; color: var(--tg-gold); }
.tgx .activity-item#installButton[style*="block"] { display: flex !important; } /* install.js sets display:block */
.tgx .activity-item:hover { border-color: rgba(230, 200, 117, .5); }
.tgx .contact-buttons-group { display: flex; flex-direction: column; gap: 8px; }
.tgx .btn-contact-channel { height: 42px; border-radius: 10px; border: 0; color: #fff; font-size: .88rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; background: #2b2e36; }
.tgx .btn-contact-line { background: #06c755; }
.tgx .btn-contact-telegram { background: #229ed9; }
.tgx .btn-contact-facebook { background: #1877f2; }
.tgx .btn-contact-phone { background: #b88728; }

/* ---------- back to top ---------- */
.tgx #back-to-top-btn { position: fixed; right: max(12px, calc(50% - 248px)); bottom: 108px; z-index: 105; width: 40px; height: 40px; border-radius: 50%; background: var(--tg-gold-grad); color: #1a1408; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .25s, transform .25s, visibility .25s; }
.tgx #back-to-top-btn.show { opacity: 1; visibility: visible; transform: none; }

/* nothing fixed may sit over an open modal */
body.modal-open .tgx .floating-side-widget, body.modal-open .tgx #back-to-top-btn { visibility: hidden; }

/* ---------- loader ---------- */
#loading-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .75); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 1; transition: opacity .3s; }
#loading-overlay img { max-width: 180px; height: auto; margin-bottom: 18px; }
#loading-overlay .spinner { width: 48px; height: 48px; border: 4px solid rgba(230, 200, 117, .25); border-top-color: #e6c875; border-radius: 50%; animation: tgSpin 1s linear infinite; }
@keyframes tgSpin { to { transform: rotate(360deg); } }

/* ---------- game iframe (royal OpenGameFrame) ---------- */
.iframe { display: none; align-items: center; justify-content: center; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; overflow: hidden; background: #000; color: #e6c875; font-family: 'Kanit', sans-serif; font-size: 1.2rem; }
.iframe iframe { width: 100%; height: 100%; border: 0; }
.close-game { position: fixed; top: 10px; left: 10px; z-index: 10000; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e6c875 0%, #b88728 100%); color: #1a1408; font-style: normal; font-size: 1.2rem; cursor: pointer; box-shadow: 0 3px 12px rgba(0, 0, 0, .6); border: 2px solid rgba(0, 0, 0, .3); }

/* ---------- Bootstrap modals (royal) in tiger style ---------- */
.modal, .modal :where(*:not(i)) { font-family: 'Kanit', sans-serif; }
.modal-content { background: linear-gradient(180deg, #17191f 0%, #0f1014 100%); border: 1px solid rgba(230, 200, 117, .35); border-radius: 16px; color: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .7); }
.modal-header { border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 14px 18px; }
.modal-title { color: #e6c875 !important; font-weight: 600; font-size: 1.05rem; }
.modal-header .btn-close { filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg); opacity: .85; margin-left: auto; }
.modal-footer { border-top: 1px solid rgba(255, 255, 255, .06); gap: 8px; }
.modal-body { color: #e0e0e0; }
.modal-body-custom { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.modal-logo-section img { max-width: 140px; max-height: 70px; height: auto; display: block; }
.modal-form-section { width: 100%; }
.modal-form-section h4 { font-size: 1.15rem; font-weight: 600; color: #e6c875; margin: 0; }
.modal-form-section .contact-support, .modal-form-section .forgot-password { font-size: .78rem; color: #e6c875; text-decoration: none; cursor: pointer; }
.modal-form-section .contact-support { display: block; margin: 4px 0 12px; }
.modal-form-section .form-label, :is(.modal, .tg-deposit-page) .form-label { color: #c0c6d4; font-size: .85rem; margin-bottom: 5px; }
:is(.modal, .tg-deposit-page) .form-control, :is(.modal, .tg-deposit-page) .form-select { background: #0b0c10; border: 1px solid rgba(255, 255, 255, .12); color: #fff; border-radius: 10px; padding: .6rem .9rem; font-size: .92rem; }
:is(.modal, .tg-deposit-page) .form-control:focus, :is(.modal, .tg-deposit-page) .form-select:focus { background: #0b0c10; color: #fff; border-color: #e6c875; box-shadow: 0 0 0 .2rem rgba(230, 200, 117, .2); }
:is(.modal, .tg-deposit-page) .form-control::placeholder { color: #6b7280; }
:is(.modal, .tg-deposit-page) select.form-control option { background: #1b1e26; color: #fff; }
:is(.modal, .tg-deposit-page) .input-group-text { background: #0b0c10; border: 1px solid rgba(255, 255, 255, .12); border-left: 0; color: #e6c875; border-radius: 0 10px 10px 0; cursor: pointer; }
:is(.modal, .tg-deposit-page) .input-group .form-control { border-right: 0; }
:is(.modal, .tg-deposit-page) .input-group .form-control:only-child { border-right: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; }
.btn-submit-form { display: block; width: 100%; padding: .7rem 1rem; border: 0; border-radius: 10px; background: linear-gradient(135deg, #e6c875 0%, #b88728 100%); color: #1a1408 !important; font-weight: 600; font-size: 1rem; text-align: center; text-decoration: none; margin-top: 12px; box-shadow: 0 4px 14px rgba(184, 135, 40, .3); }
.btn-submit-form:hover { filter: brightness(1.08); }
.modal-footer .btn-submit-form, .modal-footer .btn-cancel-modal { width: auto; flex: 1; margin-top: 0; }
.btn-cancel-modal, .modal .btn-secondary { padding: .7rem 1rem; border-radius: 10px; background: #1c1f28; border: 1px solid rgba(230, 200, 117, .4); color: #fff; font-weight: 500; }
.btn-cancel-modal:hover, .modal .btn-secondary:hover { background: #262a33; color: #fff; border-color: #e6c875; }
.modal-footer-switch { margin-top: 14px; text-align: center; font-size: .85rem; color: #c0c6d4; }
.modal-footer-switch .switch-link { color: #e6c875; font-weight: 600; cursor: pointer; text-decoration: underline; }
.contact-channels { display: flex; flex-direction: column; gap: 8px; }
.contact-channel-link { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #1c1f28; border: 1px solid rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none; font-weight: 500; }
.contact-channel-link:hover { border-color: #e6c875; }
.contact-channel-link i { font-size: 1.3rem; width: 26px; text-align: center; color: #e6c875; }
.contact-channel-link .fa-line { color: #06c755; }
.contact-channel-link .fa-telegram { color: #229ed9; }
.contact-channel-link .fa-facebook { color: #1877f2; }
/* register bank picker */
.payment-options { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.payment-options li { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; transition: transform .15s; }
.payment-options li:hover { transform: translateY(-2px); }
.payment-options img { width: 62%; height: 62%; object-fit: contain; }
.payment-options .checkmark { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #e6c875; color: #1a1408; display: none; align-items: center; justify-content: center; }
.payment-options .checkmark svg { width: 13px; height: 13px; stroke-width: 3; }
.payment-options li.selected { border-color: #e6c875; box-shadow: 0 0 0 2px rgba(230, 200, 117, .35); }
.payment-options li.selected .checkmark { display: flex; }
/* deposit */
.deposit-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.deposit-option-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; border-radius: 12px; background: #1c1f28; border: 1px solid rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none; text-align: center; font-size: .85rem; }
.deposit-option-item:hover { border-color: #e6c875; background: #23262f; }
.deposit-option-item i { font-size: 1.6rem; color: #e6c875; }
.deposit-back-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #1c1f28; border: 1px solid rgba(230, 200, 117, .4); color: #e6c875 !important; }
#deposit-view-type, #deposit-step-4-code h5, #deposit-step-5-angpao h5 { color: #e6c875 !important; font-size: 1rem; }
#promo-selection-ui .alert { background: #1c1f28; border: 1px solid rgba(230, 200, 117, .4); color: #e6c875; border-radius: 10px; }
#promo-selection-ui .btn-close { filter: invert(1); }
/* royal bank account dropdown (initializeDropdown) */
.hidden-picker { display: none !important; }
:is(.modal, .tg-deposit-page) .dropdown, :is(.modal, .tg-deposit-page) .custom-select-wrapper { position: relative; }
:is(.modal, .tg-deposit-page) .dropdown-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; text-align: left; cursor: pointer; }
:is(.modal, .tg-deposit-page) .dropdown-toggle > div { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
:is(.modal, .tg-deposit-page) .dropdown-toggle img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; background: #fff; flex: 0 0 auto; }
:is(.modal, .tg-deposit-page) .dropdown-toggle::after { color: #e6c875; }
:is(.modal, .tg-deposit-page) .bank-dropdown { width: 100%; padding: 4px !important; margin-top: 4px !important; background: #15171d; border: 1px solid rgba(230, 200, 117, .4); border-radius: 10px; max-height: 260px; overflow-y: auto; z-index: 1065; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
:is(.modal, .tg-deposit-page) .bank-dropdown .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: #fff; border-radius: 8px; font-size: .95rem; }
:is(.modal, .tg-deposit-page) .bank-dropdown .dropdown-item:hover, :is(.modal, .tg-deposit-page) .bank-dropdown .dropdown-item:focus, :is(.modal, .tg-deposit-page) .bank-dropdown .dropdown-item:active { background: rgba(230, 200, 117, .15); color: #e6c875; }
:is(.modal, .tg-deposit-page) .bank-dropdown img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; background: #fff; }
.tg-dep-account { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #0b0c10; border: 1px solid rgba(230, 200, 117, .3); }
.tg-dep-account img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; }
.tg-dep-account > div { flex: 1; min-width: 0; text-align: center; }
.tg-dep-account .js-copy { padding: 8px 12px; border-radius: 10px; background: linear-gradient(135deg, #e6c875 0%, #b88728 100%); color: #1a1408; font-weight: 600; border: 0; }
.tg-dep-note { margin-top: 12px; text-align: center; font-size: .85rem; color: #c0c6d4; line-height: 1.6; }
#content-detail-modal .modal-body img { max-width: 100%; height: auto; border-radius: 10px; }
#content-detail-modal .content-paragraph { color: #e0e0e0; line-height: 1.6; }
#message-modal-body { color: #fff; }
.tooltip { font-family: 'Kanit', sans-serif; }

/* ---------- company popups (royal createAndShowModal) ---------- */
.tg-popup .modal-dialog { width: 94vw; max-width: 94vw; margin-left: auto; margin-right: auto; }
.tg-popup .modal-content { overflow: hidden; border: 1px solid rgba(230, 200, 117, .55); border-radius: 18px; background: #0f1014; }
.tg-popup .modal-body { padding: 0 !important; max-height: calc(85vh - 70px); overflow-y: auto !important; }
.tg-popup .modal-body img { width: auto; max-width: 100%; height: auto; max-height: calc(85vh - 70px); display: block; margin: 0 auto; object-fit: contain; } /* whole image fits, no scroll for single-image popups */

/* ---------- scrollbars: thin gold (page, modals, menus, tables) ---------- */
* { scrollbar-width: thin; scrollbar-color: #b88728 rgba(255, 255, 255, .06); }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 6px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #e6c875 0%, #b88728 100%); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #e6c875; }
::-webkit-scrollbar-corner { background: transparent; }
.tg-popup .modal-footer { padding: 12px !important; border-top: 1px solid rgba(230, 200, 117, .25) !important; }
.tg-popup .modal-footer .btn { width: 100%; margin: 0; padding: 12px 0 !important; border: 0; border-radius: 12px !important; font-size: 1.1rem !important; font-weight: 600 !important; background: linear-gradient(135deg, #e6c875 0%, #b88728 100%); color: #1a1408; }
.tg-popup .modal-footer .tg-popup-today { width: 100%; margin: 0 0 10px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #e6c875; font-size: .95rem; cursor: pointer; user-select: none; }
.tg-popup .modal-footer .tg-popup-today input { width: 18px; height: 18px; margin: 0; accent-color: #e6c875; cursor: pointer; }
@media (min-width: 640px) { .tg-popup .modal-dialog { width: 560px; max-width: 560px; } }

.tgx .slider-btn.swiper-button-disabled { opacity: .3; cursor: default; }
.tgx .slider-btn.swiper-button-lock { display: none; }
/* side widget sits just above the bottom nav so it never pins over the quick menu */
.tgx .floating-side-widget { top: auto; bottom: 128px; transform: none; }
.tgx .floating-side-widget.collapsed { transform: translateX(54px); }
.tgx .floating-side-widget.tg-near-end { opacity: 0; pointer-events: none; }
/* inline promotion / news / article detail */
.tgx .tg-content-detail { display: flex; flex-direction: column; gap: 12px; background: var(--tg-card); border: 1px solid var(--tg-line); border-radius: 14px; padding: 14px; }
.tgx .tg-content-detail .tg-back-btn { align-self: flex-start; }
.tgx .tg-detail-title { font-size: 1.05rem; font-weight: 700; color: var(--gold-light, #e6c875); }
.tgx .tg-detail-body { font-size: .9rem; color: #d8dce6; overflow-wrap: anywhere; }
.tgx .tg-detail-body img { max-width: 100%; height: auto; border-radius: 10px; }
.tgx .tg-detail-body .btn-submit-form, .tgx .tg-detail-body .btn-select-pro { display: block; width: 100%; margin-top: 12px; }

/* deposit page (opened in the page instead of a popup) */
.tgx .tg-deposit-page { display: flex; flex-direction: column; gap: 4px; }
.tgx .tg-deposit-page #deposit-view-html .btn-submit-form, .tgx .tg-deposit-page .btn-submit-form { width: 100%; }
.tgx .tg-deposit-page .bank-dropdown { z-index: 30; }
.tgx .tg-support-bottom { text-align: center; margin: 10px 0 0; }

/* user reviews */
.tgx .review-section { padding: 0 16px 24px; overflow: hidden; }
.tgx .review-section .section-title i { color: var(--gold-light); margin-right: 4px; }
.tgx .reviewSwiper { width: 100%; overflow: hidden; }
.tgx .reviewSwiper .swiper-slide { height: auto; }
.tgx .review-card { height: 100%; box-sizing: border-box; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }
.tgx .review-stars { color: var(--gold-light); font-size: 0.8rem; margin-bottom: 4px; }
.tgx .review-time { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 8px; }
.tgx .review-title { font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.tgx .review-body { font-size: 0.82rem; color: #c0c6d4; margin-bottom: 12px; flex-grow: 1; }
.tgx .review-user { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #fff; }
.tgx .review-user-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-gradient); display: flex; align-items: center; justify-content: center; color: #0d0e12; font-size: 0.8rem; }
