/* Header and Brand Styles */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #151426;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    height: 50px;
    margin: 0 -16px 12px -16px;
    padding: 0 16px;
}

.app-header .logo img {
    width: 75px;
    display: block;
}

.logo .highlight { 
    color: #ffcc00; 
}

/* Guest Action Buttons */
.guest-actions {
    display: flex;
    gap: 0px;
    align-items: center;
}

.btn-outline {
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-yellow-sm {
    background: #FFCE01;
    color: #000;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.btn-yellow-sm:active { 
    transform: scale(0.95); 
}

/* Hero Banner Slider */
.banner-section {
    position: relative;
    margin-bottom: 12px;
}

.banner-slider { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    border-radius: 8px; 
    scrollbar-width: none;
}

.banner-slider::-webkit-scrollbar { 
    display: none; 
}

.banner-slider.smooth-scroll { 
    scroll-behavior: smooth; 
}

.banner-slide { 
    flex: 0 0 100%; 
    width: 100%; 
    scroll-snap-align: center; 
    scroll-snap-stop: always; 
    border-radius: 12px; 
    object-fit: cover; 
    aspect-ratio: 20 / 6; 
}

.banner-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FFCE01;
    width: 16px;
    border-radius: 10px;
}

/* Quick Action Grid Buttons */
.home-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-home-action {
    background: #ffcc00;
    color: #000;
    padding: 12px 5px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.btn-home-action:active { 
    transform: scale(0.95); 
}

/* Game Category Navigation */
.game-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.0) 100%);
}

.game-categories::-webkit-scrollbar { 
    display: none; 
}

.cat-tab {
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-tab.active {
    background: #ffcc00;
    color: #000;
    font-weight: 500;
}

/* Sub-Categories (Horizontal Scroll) */
.sub-categories {
    display: none;
    padding-bottom: 22px;
    box-sizing: border-box;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.sub-categories::-webkit-scrollbar {
    display: none; 
}

.sub-categories.active {
    display: flex; 
    overflow-x: auto; 
    flex-wrap: nowrap; 
    gap: 12px;
    padding-inline: 15px;
    width: 100%;
    box-sizing: border-box;
}

.provider-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    box-sizing: border-box;
}

.provider-tab.active {
    border-color: #FFCE01;
    background: linear-gradient(130deg, rgba(255, 206, 1, 0) 0%, rgba(255, 206, 1, 0) 89%, #FFCE01 90%, #FFCE01 100%);
}

.provider-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Main Game Grid System */
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 100px;
}

.game-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.game-item:active { 
    transform: scale(0.96); 
}

.game-item img {
    width: 100%;
    aspect-ratio: 3 / 4; 
    object-fit: cover; 
    border-radius: 14px;
    display: block;
    background: #1e2637;
}

.game-item.rounded-gradient-border {
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    padding: 1px;
    border-radius: 15px;
    z-index: 1;
}

.game-item.rounded-gradient-border.image-loaded {
    opacity: 1; 
}

.game-item.rounded-gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px; 
    padding: 1px;
    background: linear-gradient(90deg, rgba(255, 206, 1, 0.4) 0%, rgba(255, 206, 1, 0.8) 50%, rgba(255, 206, 1, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Grid Loading and Messages */
.skeleton-item { 
    background-color: #2a2e3a; 
    background-image: url('https://bkash1.com/images%20(3).jpeg'); 
    background-size: cover; 
    background-position: center; 
    border-radius: 8px; 
    width: 100%; 
    aspect-ratio: 1; 
    animation: skeleton-pulse 1.2s ease-in-out infinite; 
}

@keyframes skeleton-pulse { 
    0% { opacity: 0.5; } 
    50% { opacity: 1; } 
    100% { opacity: 0.5; } 
}

.grid-message { 
    color: #8892a3; 
    grid-column: span 3; 
    text-align: center; 
    padding: 40px 20px; 
}

.grid-error { 
    color: #ff4d4d; 
    grid-column: span 3; 
    text-align: center; 
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 85px;
    width: 100%;
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 16px;
    gap: 12px;
    z-index: 1000;
    pointer-events: none;
}

.fab-btn {
    pointer-events: auto;
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.4); 
    text-decoration: none;
}

.fab-whatsapp { 
    /*background-color: #25D366; */
    color: white; 
}

.fab-youtube { 
    /*background-color: #FF0000; */
    color: white; 
}

.fab-btn svg { 
    width: 24px; 
    height: 24px; 
    fill: currentColor; 
}

/* Bottom Navigation Menu */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: rgba(21, 20, 38, 0.9);
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8892a3;
    font-size: 11px;
    position: relative;
    flex: 1;
}

.nav-item.active { 
    color: #fff; 
}

.nav-badge-coin {
    position: absolute;
    top: -4px;
    right: 22%;
    width: 10px;
    height: 10px;
    background: #ffcc00;
    border-radius: 50%;
    border: 1px solid #1a1c23;
}

.nav-center-wrapper {
    position: relative;
    top: -15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* রোটেটিং ব্যাকগ্রাউন্ডসহ আপডেট করা বাটন */
.nav-center-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    gap: 0px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-center-btn::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    background: linear-gradient(180deg, #FF9700 0%, #FECE00 100%);
    animation: rotate-nav-bg 16s linear infinite;
    z-index: -1;
}

.nav-center-btn i, 
.nav-center-btn svg, 
.nav-center-btn .nav-btn-label {
    position: relative;
    z-index: 2;
}

@keyframes rotate-nav-bg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-btn-label {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-top: 2px;
    line-height: 1;
}

.free-gift-badge {
    position: absolute;
    top: -36px;
    background: #f8da6a;
    color: #000;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.free-gift-badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #f8da6a;
}

/* Premium desktop casino homepage */
body.premium-home-page {
    display: block;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 260px, rgba(27, 205, 195, 0.24), transparent 340px),
        linear-gradient(rgba(1, 91, 94, 0.78), rgba(0, 93, 95, 0.98)),
        url('/assets/img/games/bti-sports.webp');
    background-size: cover, cover, cover;
    background-position: center top, center top, center;
    background-attachment: fixed;
    color: #eafffc;
    overflow-x: hidden;
}

body.premium-home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 35, 43, 0.9) 0, rgba(0, 85, 89, 0.14) 28%, rgba(0, 85, 89, 0.14) 72%, rgba(0, 35, 43, 0.78) 100%);
    pointer-events: none;
    z-index: -1;
}

.premium-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 10px;
    background: linear-gradient(180deg, #006f73 0%, #00555a 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    z-index: 1400;
}

.premium-topbar-left,
.premium-nav,
.premium-actions {
    display: flex;
    align-items: center;
}

.premium-topbar-left {
    width: 220px;
    gap: 10px;
}

.premium-menu-button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 5px;
    background: #66ddcf;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.16);
}

.premium-menu-button span {
    width: 18px;
    height: 2px;
    border-radius: 10px;
    background: #00474d;
}

.premium-logo img {
    width: 86px;
    display: block;
}

.premium-nav {
    flex: 1;
    justify-content: center;
    gap: 48px;
    height: 100%;
}

.premium-nav a {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    color: rgba(218, 255, 252, 0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.premium-nav a.active,
.premium-nav a:hover {
    color: #ffffff;
}

.premium-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #43f5df;
}

.premium-actions {
    width: 340px;
    justify-content: flex-end;
    gap: 9px;
}

.premium-login,
.premium-register,
.premium-language {
    height: 28px;
    min-width: 70px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    box-sizing: border-box;
}

.premium-login {
    background: #078e98;
    color: #ffffff;
}

.premium-register {
    background: #ffd20a;
    color: #06393f;
}

.premium-language {
    min-width: 45px;
    background: rgba(0, 51, 58, 0.72);
    border: 1px solid rgba(126, 255, 239, 0.28);
    color: #dffffc;
}

.premium-balance {
    height: 28px;
    padding: 0 10px;
    border-color: rgba(126, 255, 239, 0.34);
    background: rgba(0, 45, 52, 0.62);
    color: #ffffff;
    font-weight: 800;
}

.premium-sidebar {
    position: fixed;
    top: 52px;
    left: 0;
    bottom: 0;
    width: 168px;
    padding: 12px 8px 18px;
    background: linear-gradient(180deg, rgba(0, 77, 86, 0.97), rgba(0, 44, 52, 0.97));
    border-right: 1px solid rgba(121, 255, 239, 0.18);
    box-shadow: 12px 0 26px rgba(0, 0, 0, 0.2);
    z-index: 1200;
    box-sizing: border-box;
}

.sidebar-link {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 9px;
    margin-bottom: 7px;
    border-radius: 6px;
    background: linear-gradient(180deg, #0a8d98, #056d78);
    color: #e9fffd;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 2px 8px rgba(0,0,0,0.16);
}

.sidebar-link span {
    width: 18px;
    text-align: center;
    font-weight: 900;
}

.sidebar-link.active,
.sidebar-link.hot {
    background: linear-gradient(180deg, #ffdc26, #ffbd00);
    color: #07383d;
}

.sidebar-feature-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 68px;
    min-height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 36%, #ffed76, #ff7f27 42%, #2c55db 73%, #071d4b 100%);
    border: 2px solid rgba(255,255,255,0.28);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0,0,0,0.34);
}

.sidebar-feature-card strong {
    font-size: 12px;
    line-height: 1.1;
}

.sidebar-feature-card small {
    font-size: 10px;
    opacity: 0.9;
}

body.premium-home-page .main-container.premium-home-shell {
    width: min(840px, calc(100vw - 235px));
    max-width: none;
    min-height: 100vh;
    margin: 0 auto;
    padding: 78px 0 70px 168px;
    background: transparent;
    color: #ffffff;
    display: block;
    box-sizing: content-box;
}

.premium-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 174px;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 12px;
}

.premium-banner-section {
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body.premium-home-page .banner-slider {
    border-radius: 8px;
    border: 1px solid rgba(97, 255, 238, 0.2);
    background: rgba(0, 46, 52, 0.58);
}

body.premium-home-page .banner-slide {
    aspect-ratio: 20 / 6;
    border-radius: 8px;
}

.premium-mini-promo {
    min-height: 100%;
    padding: 16px 13px;
    border-radius: 8px;
    background: linear-gradient(155deg, rgba(255, 194, 0, 0.96), rgba(255, 126, 25, 0.88));
    color: #143135;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.24);
}

.premium-mini-promo .promo-label {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.premium-mini-promo strong {
    font-size: 18px;
    line-height: 1.1;
}

.premium-mini-promo span {
    width: 48px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.82);
    font-weight: 900;
}

.premium-mini-promo small {
    font-size: 11px;
    font-weight: 700;
}

.premium-announcement {
    height: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: rgba(0, 116, 125, 0.72);
    border: 1px solid rgba(116, 255, 240, 0.18);
    color: #dffffb;
    font-size: 12px;
    font-weight: 700;
}

.premium-announcement span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffd20a;
    color: #07383d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.premium-section,
.jackpot-panel,
.promo-tile-section {
    margin-bottom: 22px;
}

.game-lobby-section {
    padding: 12px 12px 16px;
    border: 1px solid rgba(112, 255, 239, 0.24);
    border-radius: 9px;
    background: rgba(0, 76, 84, 0.52);
    box-shadow: inset 0 0 24px rgba(52, 255, 232, 0.08), 0 14px 34px rgba(0,0,0,0.18);
}

.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.section-heading-row h2 {
    margin: 0;
    height: 30px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    background: linear-gradient(180deg, #109eaa, #087783);
    color: #effffd;
    font-size: 14px;
    font-weight: 900;
}

.section-heading-row a {
    color: #ffe35a;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

body.premium-home-page .game-categories {
    justify-content: center;
    padding: 9px;
    margin-bottom: 13px;
    border-radius: 8px;
    border: 1px solid rgba(116, 255, 240, 0.2);
    background: rgba(0, 39, 47, 0.5);
}

body.premium-home-page .cat-tab {
    min-width: 116px;
    justify-content: center;
    border-radius: 7px;
    background: rgba(0, 119, 130, 0.76);
    border: 1px solid rgba(142, 255, 243, 0.18);
    color: #e9fffd;
    font-weight: 900;
}

body.premium-home-page .cat-tab.active {
    background: linear-gradient(180deg, #1ccbbc, #07939d);
    color: #ffffff;
    border-color: rgba(189, 255, 249, 0.44);
}

body.premium-home-page .sub-categories.active {
    justify-content: center;
    padding-inline: 0;
    padding-bottom: 14px;
}

body.premium-home-page .game-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 0;
}

body.premium-home-page .game-item img {
    border-radius: 8px;
    box-shadow: 0 7px 14px rgba(0,0,0,0.24);
}

body.premium-home-page .game-item.rounded-gradient-border,
body.premium-home-page .game-item.rounded-gradient-border::before {
    border-radius: 9px;
}

body.premium-home-page .grid-message,
body.premium-home-page .grid-error {
    grid-column: 1 / -1;
}

.jackpot-panel {
    padding: 18px 18px 14px;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(110, 247, 240, 0.95), rgba(0, 132, 144, 0.94));
    box-shadow: 0 14px 34px rgba(0,0,0,0.22);
    color: #06323a;
    text-align: center;
}

.jackpot-title {
    font-size: 38px;
    font-weight: 900;
    color: #ffdf19;
    text-shadow: 0 3px 0 #9b5e00, 0 8px 16px rgba(0,0,0,0.28);
    line-height: 1;
}

.jackpot-number {
    display: inline-flex;
    margin: 12px 0;
    padding: 5px 12px;
    border-radius: 5px;
    background: #022b35;
    color: #ffdf19;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2px;
}

.jackpot-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.jackpot-cards div {
    border-radius: 6px;
    background: rgba(0, 94, 106, 0.9);
    color: #ffffff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jackpot-cards span {
    font-size: 11px;
    color: rgba(255,255,255,0.78);
}

.jackpot-cards strong {
    color: #ffe34d;
    font-size: 13px;
}

.promo-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.promo-tile-grid a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(113, 255, 239, 0.2);
    background: rgba(0, 61, 69, 0.6);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.promo-tile-grid img {
    width: 100%;
    aspect-ratio: 16 / 6;
    object-fit: cover;
    display: block;
}

.premium-provider-footer {
    margin: 34px calc((100vw - min(840px, calc(100vw - 235px))) / -2) 0;
    padding: 30px max(28px, calc((100vw - min(840px, calc(100vw - 235px))) / 2)) 36px;
    background: rgba(0, 45, 52, 0.9);
    border-top: 1px solid rgba(134, 255, 241, 0.22);
    color: rgba(233, 255, 252, 0.82);
}

.premium-provider-footer h2 {
    margin: 0 0 14px;
    font-size: 15px;
}

.provider-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.provider-logo-grid span {
    min-height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 92, 102, 0.56);
    border: 1px solid rgba(134, 255, 241, 0.18);
    color: #eafffc;
    font-size: 12px;
    font-weight: 900;
}

.premium-provider-footer p {
    max-width: 760px;
    margin: 0;
    color: rgba(233, 255, 252, 0.68);
    font-size: 12px;
    line-height: 1.6;
}

.premium-support-buttons {
    position: fixed;
    right: 20px;
    bottom: 24px;
    left: auto;
    width: auto;
    max-width: none;
    transform: none;
    padding: 9px;
    border-radius: 999px;
    background: rgba(0, 39, 47, 0.78);
    border: 1px solid rgba(116, 255, 240, 0.24);
    align-items: center;
}

.premium-support-buttons .fab-btn {
    width: 38px;
    height: 38px;
}

@media (min-width: 901px) {
    .premium-bottom-nav {
        display: none;
    }
}

@media (max-width: 1050px) {
    .premium-mini-promo {
        display: none;
    }

    .premium-hero-grid {
        grid-template-columns: 1fr;
    }

    .premium-actions {
        width: 260px;
    }

    .premium-nav {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    body.premium-home-page {
        display: flex;
        background: #141325;
    }

    .premium-sidebar {
        display: none;
    }

    .premium-topbar {
        position: sticky;
        height: 50px;
        padding: 0 12px;
        background: #151426;
        box-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .premium-topbar-left {
        width: auto;
    }

    .premium-menu-button,
    .premium-nav,
    .premium-language {
        display: none;
    }

    .premium-logo img {
        width: 75px;
    }

    .premium-actions {
        width: auto;
        gap: 0;
    }

    .premium-login,
    .premium-register {
        height: auto;
        min-width: 0;
        padding: 6px 12px;
        font-size: 13px;
    }

    .premium-login {
        background: transparent;
    }

    .premium-balance {
        height: auto;
        padding: 6px 8px;
        background: transparent;
        border-color: rgba(255,255,255,0.1);
    }

    body.premium-home-page .main-container.premium-home-shell {
        width: 100%;
        max-width: 480px;
        padding: 0 16px;
        margin: 0 auto;
        background-color: var(--bg-body);
        display: flex;
        box-sizing: border-box;
    }

    .premium-announcement,
    .jackpot-panel,
    .promo-tile-section,
    .premium-provider-footer,
    .section-heading-row {
        display: none;
    }

    .game-lobby-section {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    body.premium-home-page .banner-section {
        margin-bottom: 12px;
    }

    body.premium-home-page .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 100px;
    }

    body.premium-home-page .game-categories {
        justify-content: flex-start;
        padding: 12px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
        border: 0;
    }

    body.premium-home-page .cat-tab {
        min-width: auto;
        border-radius: 20px;
    }

    .premium-support-buttons {
        right: auto;
        bottom: 85px;
        width: 100%;
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
        padding-right: 16px;
        border: 0;
        background: transparent;
        align-items: flex-end;
    }
}
/* Homepage popup and toggle isolation */
.premium-nav .premium-nav-link {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: rgba(218, 255, 252, 0.82);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.premium-nav .premium-nav-link:hover {
    color: #ffffff;
}

.home-language-dropdown {
    position: fixed;
    top: 48px;
    right: 18px;
    width: 138px;
    display: none;
    overflow: hidden;
    border-radius: 8px;
    background: #00565d;
    border: 1px solid rgba(122, 255, 240, 0.5);
    box-shadow: 0 18px 34px rgba(0,0,0,0.28);
    z-index: 1700;
}

.home-language-dropdown.is-open {
    display: block;
}

.home-language-dropdown button {
    width: 100%;
    height: 46px;
    border: 0;
    background: transparent;
    color: #eafffc;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.home-language-dropdown button:hover {
    background: rgba(28, 203, 188, 0.22);
}

.home-language-dropdown button::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e32642;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.home-sidebar-overlay {
    position: fixed;
    inset: 52px 0 0;
    display: none;
    background: rgba(0, 18, 22, 0.46);
    z-index: 1150;
}

body.home-sidebar-open .home-sidebar-overlay {
    display: block;
}

body.home-sidebar-collapsed .premium-sidebar {
    transform: translateX(-100%);
}

.premium-sidebar {
    transition: transform 0.22s ease;
}

.home-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 19, 24, 0.58);
    backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.home-modal-layer.is-active {
    display: flex;
}

.home-modal-panel {
    display: none;
    position: relative;
    width: min(500px, 94vw);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    border-radius: 18px;
    background: linear-gradient(180deg, #087178, #00656b);
    border: 1px solid rgba(126, 255, 239, 0.26);
    box-shadow: 0 26px 76px rgba(0,0,0,0.42);
    color: #eafffc;
    padding: 34px 34px 30px;
    box-sizing: border-box;
}

.home-modal-panel.is-active {
    display: block;
}

.home-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b8f5ef;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.home-modal-logo {
    width: 86px;
    display: block;
    margin: 0 auto 14px;
}

.home-modal-panel h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: 22px;
    font-weight: 900;
}

.home-auth-form {
    display: grid;
    gap: 14px;
}

.home-auth-form label {
    display: grid;
    gap: 7px;
    color: rgba(232, 255, 252, 0.78);
    font-size: 13px;
    font-weight: 800;
}

.home-auth-form input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(126, 255, 239, 0.14);
    border-radius: 10px;
    background: rgba(0, 48, 55, 0.78);
    color: #ffffff;
    padding: 0 14px;
    outline: none;
    box-sizing: border-box;
}

.home-auth-form button,
.home-share-actions a {
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff85f, #ff9d00);
    color: #07383d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.home-modal-panel p {
    margin: 16px 0 0;
    text-align: center;
    color: rgba(232, 255, 252, 0.74);
    font-size: 13px;
}

.home-modal-panel p a {
    color: #fff45a;
    font-weight: 900;
}

.home-share-modal {
    width: min(760px, 94vw);
}

.home-share-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 48, 55, 0.72);
    border: 1px solid rgba(126, 255, 239, 0.18);
}

.home-share-card strong {
    font-size: 20px;
    color: #fff45a;
}

.home-share-card span {
    word-break: break-all;
    color: #ffffff;
    font-weight: 800;
}

.home-share-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.premium-announcement {
    cursor: pointer;
}

.premium-announcement:focus-visible,
.premium-menu-button:focus-visible,
.premium-language:focus-visible,
.premium-nav-link:focus-visible {
    outline: 2px solid #fff45a;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .premium-menu-button,
    .premium-language {
        display: inline-flex;
    }

    .premium-sidebar {
        display: block;
        transform: translateX(-100%);
        z-index: 1600;
    }

    body.home-sidebar-open .premium-sidebar {
        transform: translateX(0);
    }

    .home-sidebar-overlay {
        inset: 50px 0 0;
    }

    .home-language-dropdown {
        top: 48px;
        right: 10px;
    }

    .home-modal-layer {
        padding: 14px;
    }

    .home-modal-panel {
        padding: 30px 18px 24px;
    }

    .home-share-actions {
        grid-template-columns: 1fr;
    }
}
/* OKZZ visual alignment layer */
:root {
    --okzz-teal-deep: #00454d;
    --okzz-teal: #006f73;
    --okzz-teal-card: #087f87;
    --okzz-cyan: #42f4e8;
    --okzz-gold: #ffd20a;
}

.okzz-mobile-appbar {
    display: none;
}

body.premium-home-page {
    background:
        linear-gradient(rgba(0, 91, 96, 0.74), rgba(0, 100, 103, 0.96)),
        radial-gradient(circle at 50% 210px, rgba(70, 255, 239, 0.22), transparent 390px),
        url('/assets/img/games/bti-sports.webp');
    background-size: cover, cover, cover;
    background-position: center top, center top, center top;
}

.premium-topbar {
    height: 48px;
    padding: 0 18px 0 0;
    background: linear-gradient(180deg, #00656b 0%, #003d43 100%);
    border-bottom: 1px solid rgba(83, 255, 239, 0.16);
}

.premium-menu-button {
    width: 42px;
    height: 42px;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #80f5dd, #37b894);
}

.premium-menu-button span {
    width: 22px;
    height: 3px;
    background: #07383f;
}

.premium-logo img {
    width: 92px;
    filter: drop-shadow(0 0 7px rgba(93, 244, 255, 0.66));
}

.premium-topbar-left {
    width: 236px;
    gap: 16px;
}

.premium-nav {
    gap: 56px;
}

.premium-nav a,
.premium-nav .premium-nav-link {
    color: rgba(226, 255, 252, 0.76);
    font-size: 13px;
    letter-spacing: 0;
}

.premium-nav a.active,
.premium-nav a:hover,
.premium-nav .premium-nav-link:hover {
    color: #54fff2;
}

.premium-actions {
    width: 330px;
    gap: 10px;
}

.premium-login,
.premium-register,
.premium-language {
    height: 30px;
    border-radius: 8px;
}

.premium-login {
    background: #09828b;
}

.premium-register {
    background: linear-gradient(180deg, #ffe800, #ffbd00);
}

.premium-language {
    min-width: 72px;
    border-color: rgba(81, 255, 238, 0.25);
}

.premium-language::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-right: 7px;
    border-radius: 50%;
    background: #e3283f;
}

.premium-sidebar {
    top: 48px;
    width: 156px;
    padding: 12px 8px;
    background: linear-gradient(180deg, rgba(0, 67, 73, 0.98), rgba(0, 39, 45, 0.98));
}

.sidebar-link {
    height: 34px;
    margin-bottom: 8px;
    padding: 0 10px;
    border-radius: 8px;
    background: linear-gradient(180deg, #0f8f98, #09606a);
    border: 1px solid rgba(140, 255, 243, 0.22);
    font-size: 12px;
}

.sidebar-link.hot,
.sidebar-link.active {
    background: linear-gradient(180deg, #ffdf18, #f5b600);
    color: #05383f;
    border-color: rgba(255, 249, 144, 0.72);
}

.sidebar-feature-card {
    bottom: 74px;
    min-height: 96px;
    font-size: 11px;
    filter: saturate(1.18);
}

body.premium-home-page .main-container.premium-home-shell {
    width: 560px;
    max-width: none;
    margin: 0 0 0 calc(156px + ((100vw - 156px - 560px) / 2));
    padding: 62px 0 0;
    box-sizing: border-box;
}

.premium-hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.premium-mini-promo {
    width: 290px;
    min-height: 112px;
    margin: 4px 0 10px;
    padding: 14px 18px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 217, 12, 0.9), rgba(194, 120, 0, 0.9)),
        url('/assets/img/games/lucky-sports.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.48);
}

.premium-mini-promo strong {
    font-size: 16px;
}

body.premium-home-page .banner-slider {
    border: 0;
    border-radius: 9px;
    background: rgba(0, 51, 58, 0.5);
}

body.premium-home-page .banner-slide {
    aspect-ratio: 16 / 5;
    border-radius: 9px;
}

.banner-dots {
    bottom: 10px;
    gap: 8px;
}

.dot {
    width: 22px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.42);
}

.dot.active {
    width: 26px;
    background: #47fff0;
}

.premium-announcement {
    height: 28px;
    border-radius: 999px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #159ca5, #0a7c84);
    border: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.16);
}

.game-lobby-section {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.section-heading-row h2 {
    height: 30px;
    border-radius: 7px;
    background: linear-gradient(180deg, #18a7b2, #087883);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

body.premium-home-page .game-categories {
    justify-content: flex-start;
    gap: 8px;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 9px;
    background: rgba(0, 72, 80, 0.84);
    border: 1px solid rgba(89, 255, 239, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 0 18px rgba(54,255,235,0.18);
}

body.premium-home-page .cat-tab {
    min-width: 74px;
    height: 34px;
    padding: 0 9px;
    border-radius: 6px;
    background: linear-gradient(180deg, #0e7d88, #075c66);
    font-size: 11px;
    color: #eafffc;
}

body.premium-home-page .cat-tab.active {
    background: linear-gradient(180deg, #10bac3, #087986);
}

body.premium-home-page .sub-categories.active {
    justify-content: flex-start;
    gap: 8px;
    padding: 7px 0 10px;
}

.provider-tab {
    width: 62px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0, 65, 73, 0.86);
    border-color: rgba(112, 255, 241, 0.25);
}

body.premium-home-page .game-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

body.premium-home-page .game-item img {
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    object-fit: cover;
}

body.premium-home-page .game-item.rounded-gradient-border,
body.premium-home-page .game-item.rounded-gradient-border::before {
    border-radius: 8px;
}

.jackpot-panel {
    width: 100%;
    margin: 26px 0 18px;
    padding: 18px 14px 12px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.72), transparent 34%),
        linear-gradient(180deg, #85f4ed 0%, #11b6c1 48%, #066e79 100%);
    border: 1px solid rgba(180, 255, 249, 0.5);
}

.jackpot-title {
    font-size: 41px;
    letter-spacing: 1px;
}

.jackpot-number {
    font-size: 28px;
    letter-spacing: 4px;
    border: 2px solid rgba(255, 223, 25, 0.54);
}

.jackpot-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.promo-tile-section {
    margin-bottom: 20px;
}

.promo-tile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.premium-provider-footer {
    margin: 46px calc((100vw - 560px - 156px) / -2) 0 calc((100vw - 560px - 156px) / -2);
    padding: 30px calc((100vw - 560px - 156px) / 2) 42px;
    background: #003f45;
}

.provider-logo-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.provider-logo-grid span {
    min-height: 26px;
    background: transparent;
    border: 0;
    font-size: 11px;
    color: rgba(232,255,252,0.9);
}

.premium-support-buttons {
    right: 16px;
    bottom: 30px;
    gap: 10px;
    padding: 13px 10px;
    background: rgba(0, 42, 49, 0.9);
}

.premium-support-buttons .fab-btn {
    width: 46px;
    height: 46px;
    border: 3px solid #ffd20a;
    background: #087984;
}

@media (max-width: 900px) {
    body.premium-home-page {
        display: block;
        background:
            linear-gradient(rgba(0, 91, 96, 0.82), rgba(0, 100, 103, 0.98)),
            url('/assets/img/games/bti-sports.webp');
        background-size: cover;
        background-attachment: fixed;
    }

    .okzz-mobile-appbar {
        height: 28px;
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 0 8px;
        background: #044a51;
        color: #eafffc;
        font-size: 10px;
        position: sticky;
        top: 0;
        z-index: 1601;
        box-sizing: border-box;
    }

    .okzz-mobile-appbar img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .okzz-mobile-appbar div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.05;
    }

    .okzz-mobile-appbar strong {
        font-size: 10px;
    }

    .okzz-mobile-appbar span {
        color: rgba(234,255,252,0.72);
        font-size: 9px;
    }

    .okzz-mobile-appbar a {
        margin-left: auto;
        height: 20px;
        padding: 0 10px;
        border-radius: 999px;
        background: #ffd20a;
        color: #06383f;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        font-size: 10px;
        font-weight: 900;
    }

    .okzz-mobile-appbar button {
        width: 20px;
        height: 20px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.18);
        color: #eafffc;
        line-height: 1;
    }

    .premium-topbar {
        position: sticky;
        top: 28px;
        height: 42px;
        padding: 0 8px 0 0;
        background: #00555c;
        border-bottom: 1px solid rgba(99,255,240,0.24);
    }

    .premium-menu-button {
        display: inline-flex;
        width: 36px;
        height: 36px;
        border-radius: 0 8px 8px 0;
    }

    .premium-menu-button span {
        width: 19px;
        height: 2px;
    }

    .premium-topbar-left {
        gap: 9px;
    }

    .premium-logo img {
        width: 72px;
    }

    .premium-actions {
        gap: 6px;
    }

    .premium-login,
    .premium-register {
        height: 28px;
        padding: 0 10px;
        border-radius: 7px;
        font-size: 11px;
    }

    .premium-login {
        background: #078894;
    }

    .premium-language {
        display: inline-flex;
        min-width: 44px;
        height: 28px;
        padding: 0 8px;
        border-radius: 7px;
        font-size: 0;
    }

    .premium-language::before {
        margin: 0;
    }

    body.premium-home-page .main-container.premium-home-shell {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        padding: 8px 8px 72px;
        display: block;
        background: transparent;
    }

    .premium-hero-grid {
        margin-bottom: 8px;
    }

    body.premium-home-page .banner-section {
        margin-bottom: 8px;
    }

    body.premium-home-page .banner-slide {
        aspect-ratio: 16 / 7;
        border-radius: 6px;
    }

    .banner-dots {
        bottom: 6px;
        gap: 5px;
    }

    .dot,
    .dot.active {
        width: 16px;
        height: 4px;
    }

    .premium-mini-promo {
        display: flex;
        width: min(250px, 76vw);
        min-height: 84px;
        margin: 7px 0 8px;
        padding: 10px 14px;
    }

    .premium-mini-promo strong {
        font-size: 13px;
    }

    .premium-mini-promo span {
        width: 38px;
        height: 19px;
    }

    .premium-announcement,
    .jackpot-panel,
    .promo-tile-section,
    .premium-provider-footer,
    .section-heading-row {
        display: flex;
    }

    .premium-announcement {
        height: 26px;
        margin-bottom: 10px;
        font-size: 10px;
    }

    .section-heading-row {
        margin: 12px 0 7px;
    }

    .section-heading-row h2 {
        height: 25px;
        padding: 0 10px;
        font-size: 12px;
    }

    .section-heading-row a {
        font-size: 10px;
    }

    body.premium-home-page .game-categories {
        padding: 7px;
        gap: 6px;
        margin-bottom: 7px;
        overflow-x: auto;
    }

    body.premium-home-page .cat-tab {
        min-width: 66px;
        height: 31px;
        font-size: 10px;
        padding: 0 7px;
    }

    body.premium-home-page .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 12px;
    }

    body.premium-home-page .game-item img {
        border-radius: 6px;
        aspect-ratio: 1 / 1;
    }

    .jackpot-panel {
        display: block;
        margin: 16px 0 12px;
        padding: 13px 8px 9px;
        border-radius: 7px;
    }

    .jackpot-title {
        font-size: 31px;
    }

    .jackpot-number {
        margin: 8px 0;
        font-size: 21px;
        letter-spacing: 2px;
        padding: 4px 7px;
    }

    .jackpot-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .jackpot-cards div {
        padding: 5px 3px;
    }

    .jackpot-cards span {
        font-size: 8px;
    }

    .jackpot-cards strong {
        font-size: 9px;
    }

    .promo-tile-section {
        display: block;
        margin-bottom: 12px;
    }

    .promo-tile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .promo-tile-grid img {
        aspect-ratio: 16 / 7;
    }

    .premium-provider-footer {
        display: block;
        margin: 22px -8px 0;
        padding: 20px 12px 84px;
        background: #003f45;
    }

    .provider-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .provider-logo-grid span {
        min-height: 22px;
        font-size: 10px;
    }

    .premium-support-buttons {
        right: 8px;
        bottom: 58px;
        left: auto;
        width: auto;
        max-width: none;
        transform: none;
        padding: 8px 6px;
        gap: 8px;
        border-radius: 999px;
        background: rgba(0, 40, 48, 0.86);
    }

    .premium-support-buttons .fab-btn {
        width: 36px;
        height: 36px;
        border-width: 2px;
    }

    .premium-bottom-nav {
        height: 52px;
        max-width: 430px;
        background: #006d73;
        border-top-color: rgba(80,255,239,0.28);
    }

    .nav-center-btn {
        width: 58px;
        height: 58px;
        box-shadow: 0 0 0 4px rgba(0, 80, 86, 0.75);
    }

    .nav-item {
        color: #d9fffb;
        font-size: 10px;
    }

    .nav-item.active {
        color: #ffd20a;
    }
}

@media (max-width: 360px) {
    body.premium-home-page .main-container.premium-home-shell {
        padding-left: 6px;
        padding-right: 6px;
    }

    body.premium-home-page .game-grid {
        gap: 6px;
    }

    .premium-register,
    .premium-login {
        padding: 0 8px;
    }

    .provider-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    body.okzz-appbar-closed .premium-topbar {
        top: 0;
    }
}
/* OKZZ multi-section game layout */
.okzz-multi-game-sections {
    display: grid;
    gap: 18px;
    margin: 0 0 18px;
}

.okzz-game-section {
    padding: 10px 0 0;
}

.okzz-game-section .section-heading-row,
.game-lobby-section .section-heading-row {
    margin-bottom: 8px;
}

.okzz-more-btn {
    min-width: 52px;
    height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffdf18, #f4b800);
    color: #06383f !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.22);
}

.okzz-section-grid {
    min-height: 94px;
}

body.premium-home-page .okzz-section-grid.game-grid {
    margin-bottom: 0;
}

body.premium-home-page .okzz-game-section .grid-message,
body.premium-home-page .okzz-game-section .grid-error {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 64, 72, 0.5);
}

@media (min-width: 901px) {
    .okzz-game-section .section-heading-row h2::before,
    .game-lobby-section .section-heading-row h2::before {
        content: "";
        width: 7px;
        height: 7px;
        margin-right: 7px;
        border-radius: 50%;
        background: #61fff2;
        box-shadow: 0 0 8px rgba(97,255,242,0.9);
    }
}

@media (max-width: 900px) {
    .okzz-multi-game-sections {
        gap: 12px;
        margin-bottom: 12px;
    }

    .okzz-game-section {
        padding-top: 2px;
    }

    .okzz-more-btn {
        min-width: 48px;
        height: 22px;
        padding: 0 10px;
        font-size: 10px !important;
    }

    .okzz-section-grid {
        min-height: 78px;
    }
}

/* Personal Center modal */
.personal-center-modal {
    width: min(1280px, calc(100vw - 64px));
    height: min(720px, calc(100vh - 72px));
    max-height: calc(100vh - 72px);
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
    color: #2b3140;
    border: 0;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.56);
}

.personal-center-modal.is-active {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
}

.personal-center-close {
    top: 14px;
    right: 16px;
    z-index: 4;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: #252d45;
    font-size: 30px;
}

.pc-sidebar {
    min-height: 100%;
    background: #293249;
    color: #ffffff;
    padding: 24px 0 18px;
    box-sizing: border-box;
    overflow-y: auto;
}

.pc-sidebar-title {
    padding: 10px 22px 28px;
    font-size: 28px;
    line-height: 1.12;
    font-weight: 900;
    text-align: center;
    color: #ffffff;
}

.pc-menu-item {
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.pc-menu-item span {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex: 0 0 auto;
}

.pc-menu-item:hover,
.pc-menu-item.is-active {
    background: #32e5f1;
    color: #ffffff;
}

.pc-content {
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    padding: 40px 54px;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 34% 0%, rgba(249, 231, 255, 0.8), transparent 330px),
        linear-gradient(90deg, #ffffff 0%, #ffffff 76%, #fbfbfb 100%);
}

.pc-panel {
    display: none;
}

.pc-panel.is-active {
    display: block;
}

.pc-account-grid {
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(280px, 330px) minmax(260px, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pc-user-card,
.pc-risk-card,
.pc-security-list {
    border-radius: 10px;
    background: #f4f7fb;
    box-shadow: 0 16px 46px rgba(37, 45, 69, 0.08);
}

.pc-user-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 22px 18px;
    min-height: 494px;
    box-sizing: border-box;
    align-content: start;
    background:
        linear-gradient(135deg, rgba(215, 255, 248, 0.88), transparent 45%),
        #f7f8fb;
}

.pc-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe6e6, #ffffff);
    color: #596071;
    font-weight: 900;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.pc-user-card h3,
.pc-panel-header h3 {
    margin: 0;
    color: #30374a;
    font-size: 22px;
    font-weight: 900;
}

.pc-user-card p,
.pc-panel-header p,
.pc-form-note {
    margin: 7px 0 0;
    color: #7d8493;
    font-size: 13px;
    text-align: left;
}

.pc-balance-card {
    grid-column: 1 / -1;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #e6e9f0;
    display: grid;
    gap: 8px;
}

.pc-balance-card span {
    color: #6d7482;
    font-weight: 800;
}

.pc-balance-card strong {
    font-size: 30px;
    color: #30374a;
}

.pc-risk-card {
    min-height: 494px;
    padding: 34px 24px;
    box-sizing: border-box;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 14px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(180deg, #eb0d46, #ff6868);
}

.pc-risk-circle {
    width: 172px;
    height: 172px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff7f7;
    color: #c52c48;
    font-size: 38px;
    font-weight: 900;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.1), 0 0 50px rgba(255, 255, 255, 0.4);
}

.pc-risk-card strong {
    font-size: 18px;
}

.pc-risk-card span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.pc-security-list {
    padding: 4px 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    gap: 18px;
}

.pc-security-list div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 4px 14px;
    align-items: center;
}

.pc-status-dot {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.pc-status-dot.warn { background: linear-gradient(135deg, #ffc400, #ff9d00); }
.pc-status-dot.ok { background: linear-gradient(135deg, #27e8dd, #00b9ba); }
.pc-status-dot.danger { background: linear-gradient(135deg, #ff765d, #ef3428); }

.pc-security-list strong {
    color: #555c69;
    font-size: 16px;
}

.pc-security-list small {
    color: #8b929d;
    line-height: 1.35;
}

.pc-security-list a {
    color: #df2c2c;
    font-weight: 900;
    text-decoration: none;
}

.pc-panel-header {
    margin-bottom: 18px;
}

@media (max-width: 1100px) {
    .personal-center-modal.is-active {
        grid-template-columns: 164px minmax(0, 1fr);
    }

    .pc-content {
        padding: 34px 28px;
    }

    .pc-account-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pc-security-list {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .home-modal-layer.is-personal-center-active {
        padding: 0;
    }

    .personal-center-modal {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .personal-center-modal.is-active {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .personal-center-close {
        top: 10px;
        right: 10px;
    }

    .pc-sidebar {
        min-height: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding: 54px 12px 12px;
    }

    .pc-sidebar-title {
        position: absolute;
        top: 15px;
        left: 16px;
        padding: 0;
        font-size: 20px;
        text-align: left;
        white-space: nowrap;
    }

    .pc-menu-item {
        width: auto;
        flex: 0 0 auto;
        min-height: 38px;
        border-radius: 999px;
        padding: 0 12px;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.08);
    }

    .pc-menu-item span {
        display: none;
    }

    .pc-content {
        padding: 18px 14px 88px;
    }
    .pc-account-grid,
    .pc-security-list {
        grid-template-columns: 1fr;
    }

    .pc-user-card,
    .pc-risk-card {
        min-height: auto;
    }

    .pc-risk-circle {
        width: 132px;
        height: 132px;
        font-size: 30px;
    }
}



/* Personal Center deposit and wallet binding */
.pc-deposit-shell {
    min-height: 100%;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 280px;
    background: #f2f2f2;
    margin: -40px -54px;
    min-height: min(720px, calc(100vh - 72px));
}

.pc-deposit-methods {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
    background: #f6f6f6;
    border-right: 1px solid #e3e3e3;
}

.pc-pay-card {
    position: relative;
    min-height: 68px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    color: #646a72;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
}

.pc-pay-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border-style: solid;
    border-width: 0 0 22px 22px;
    border-color: transparent transparent #ff423f transparent;
    opacity: 0;
}

.pc-pay-card.is-active {
    border-color: #ff423f;
    box-shadow: 0 18px 34px rgba(255, 66, 63, 0.12);
}

.pc-pay-card.is-active::after {
    opacity: 1;
}

.pc-pay-card strong {
    display: block;
    color: #555b64;
    font-size: 14px;
}

.pc-pay-card small {
    grid-column: 2;
    color: #9aa0a8;
    font-size: 11px;
}

.pc-pay-icon {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 18px;
}

.pc-pay-icon.nagad { background: linear-gradient(135deg, #ff4b23, #ffd544); }
.pc-pay-icon.bkash { background: linear-gradient(135deg, #ff2b7a, #ff7eae); }
.pc-pay-icon.usdt { background: linear-gradient(135deg, #1fa776, #43d3a3); }
.pc-pay-icon.trx { background: linear-gradient(135deg, #ff2446, #ffffff); color: #e11133; }

.pc-deposit-form {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 18px 26px 88px;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
}

.pc-deposit-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid #ededed;
    padding-bottom: 12px;
}

.pc-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #69717e;
    font-size: 13px;
    font-weight: 900;
}

.pc-section-kicker::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #19d552;
}

.pc-deposit-topline h3 {
    margin: 7px 0 0;
    color: #414852;
    font-size: 18px;
    font-weight: 900;
}

.pc-history-pill {
    height: 32px;
    border: 1px solid #b9caff;
    border-radius: 999px;
    background: #f7f9ff;
    color: #6381e4;
    padding: 0 14px;
    font-weight: 900;
    cursor: pointer;
}

.pc-amount-label,
.pc-trx-label,
.pc-wallet-form-area label {
    display: grid;
    gap: 7px;
    color: #555c68;
    font-size: 13px;
    font-weight: 900;
}

.pc-amount-label input,
.pc-trx-label input,
.pc-wallet-form-area input,
.pc-wallet-form-area select {
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f8f8f8;
    color: #333946;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
}

.pc-amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pc-amount-buttons button {
    min-width: 68px;
    height: 38px;
    border: 1px solid #ffb5b5;
    border-radius: 5px;
    background: #fffafa;
    color: #727782;
    font-weight: 800;
    cursor: pointer;
}

.pc-amount-buttons button.is-active,
.pc-amount-buttons button:hover {
    border-color: #ff4a4a;
    color: #ff3030;
    background: #fff4f4;
}

.pc-limit-note {
    margin: -4px 0 0;
    text-align: left;
    color: #ff3434;
    font-size: 13px;
    font-weight: 800;
}

.pc-deposit-instruction {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    max-width: 640px;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(38, 112, 179, 0.13);
}

.pc-bank-illustration {
    min-height: 170px;
    border-radius: 24px;
    background: linear-gradient(160deg, #63c9ff, #ffffff 70%);
    display: grid;
    place-items: center;
    text-align: center;
    color: #e6482f;
    font-weight: 900;
}

.pc-card-art {
    width: 92px;
    height: 58px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1fb2e8, #2b7dce);
    box-shadow: 0 14px 28px rgba(25, 90, 160, 0.18);
}

.pc-deposit-instruction h4 {
    margin: 0 0 8px;
    color: #ff3b2f;
    font-size: 16px;
}

.pc-deposit-instruction p {
    margin: 0;
    color: #444b56;
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
}

.pc-deposit-instruction button,
.pc-submit-deposit,
.pc-wallet-confirm {
    width: fit-content;
    min-width: 160px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8388, #ff606a);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    margin-top: 14px;
}

.pc-submit-deposit {
    position: absolute;
    left: 28px;
    bottom: 18px;
    background: linear-gradient(90deg, #ff777f, #ff5964);
}

.pc-deposit-history {
    padding: 18px;
    background: #ffffff;
}

.pc-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #ededed;
    color: #69717e;
    font-weight: 900;
}

.pc-history-header::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #e52a35;
}

.pc-history-empty {
    min-height: 300px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #a0a5ad;
    text-align: center;
}

.pc-history-empty span,
.pc-bound-empty span {
    width: 112px;
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
    box-shadow: inset 0 0 0 1px #eeeeee;
}

.pc-wallet-bind-layer {
    position: absolute;
    inset: 0;
    display: none;
    background: rgba(0, 0, 0, 0.45);
    z-index: 5;
}

.pc-wallet-bind-layer.is-active {
    display: block;
}

.pc-wallet-bind-panel {
    position: absolute;
    inset: 0;
    margin-left: 188px;
    display: grid;
    grid-template-columns: minmax(320px, 440px) minmax(260px, 1fr);
    background: #ffffff;
    color: #464d59;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
}

.pc-wallet-close {
    position: absolute;
    top: 8px;
    left: -14px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #d9232d;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.pc-wallet-form-area {
    padding: 22px 30px;
    display: grid;
    align-content: start;
    gap: 14px;
    border-right: 1px solid #e5e5e5;
}

.pc-wallet-confirm {
    margin-top: 80px;
    background: linear-gradient(90deg, #d8d8d8, #b7b7b7);
}

.pc-bound-wallets {
    padding: 22px 28px;
    display: grid;
    align-content: start;
    gap: 18px;
}

.pc-bound-empty {
    min-height: 280px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #b3b7bf;
    text-align: center;
}

.pc-bound-list {
    display: grid;
    gap: 10px;
}

.pc-bound-card {
    padding: 14px 16px;
    border-radius: 10px;
    background: #e8d5b8;
    display: grid;
    gap: 4px;
    color: #4b4033;
}

.pc-bound-card strong {
    color: #313743;
}

.pc-wallet-confirm-pop,
.pc-wallet-success-pop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(320px, calc(100% - 40px));
    display: none;
    background: #293249;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
    z-index: 6;
}

.pc-wallet-confirm-pop.is-active,
.pc-wallet-success-pop.is-active {
    display: grid;
}

.pc-wallet-confirm-pop {
    gap: 10px;
    padding-top: 20px;
}

.pc-wallet-confirm-pop p {
    margin: 0;
    padding: 0 18px 14px;
    color: #ffffff;
    text-align: left;
    line-height: 1.5;
}

.pc-wallet-confirm-pop > div:last-child,
.pc-wallet-success-pop button {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pc-wallet-confirm-pop button,
.pc-wallet-success-pop button {
    height: 52px;
    border: 0;
    color: #ffffff;
    background: #777b82;
    font-weight: 900;
    cursor: pointer;
}

.pc-wallet-confirm-pop button:last-child,
.pc-wallet-success-pop button {
    background: #36d8e4;
}

.pc-wallet-success-pop {
    gap: 18px;
    padding-top: 28px;
}

.pc-pop-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid #ffbd8b;
    color: #ffbd8b;
    display: grid;
    place-items: center;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 900;
}

.pc-pop-icon.ok {
    border-color: #23ff6d;
    color: #23ff6d;
}

@media (max-width: 1100px) {
    .pc-deposit-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .pc-deposit-history {
        grid-column: 1 / -1;
        min-height: 180px;
    }

    .pc-wallet-bind-panel {
        margin-left: 164px;
    }
}

@media (max-width: 760px) {
    .pc-deposit-shell {
        margin: -18px -14px -88px;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pc-deposit-methods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
    }

    .pc-pay-card {
        min-height: 62px;
        padding: 8px;
    }

    .pc-deposit-form {
        padding: 16px 14px 76px;
    }

    .pc-deposit-topline,
    .pc-deposit-instruction {
        grid-template-columns: 1fr;
        display: grid;
    }

    .pc-bank-illustration {
        min-height: 130px;
    }

    .pc-submit-deposit {
        left: 14px;
        bottom: 16px;
    }

    .pc-wallet-bind-panel {
        margin-left: 0;
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .pc-wallet-close {
        left: auto;
        right: 10px;
        top: 10px;
    }

    .pc-wallet-form-area,
    .pc-bound-wallets {
        padding: 18px 14px;
    }

    .pc-wallet-confirm {
        margin-top: 20px;
    }
}

/* Personal Center withdraw flow */
.pc-withdraw-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    min-height: min(720px, calc(100vh - 72px));
    margin: -40px -54px;
    background: #ffffff;
}

.pc-withdraw-main {
    position: relative;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 0 32px 88px;
    border-right: 1px solid #eeeeee;
}

.pc-withdraw-tabs {
    height: 52px;
    display: flex;
    gap: 34px;
    align-items: end;
    border-bottom: 1px solid #eeeeee;
}

.pc-withdraw-tabs button {
    height: 52px;
    border: 0;
    background: transparent;
    color: #626a75;
    font-weight: 900;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.pc-withdraw-tabs button.is-active {
    color: #e72c35;
    border-bottom-color: #e72c35;
}

.pc-withdraw-wallets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
}

.pc-withdraw-wallet,
.pc-add-wallet {
    min-width: 150px;
    min-height: 48px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    background: #ffffff;
    color: #666d76;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 6px 10px;
    align-items: center;
    padding: 8px 12px;
    text-align: left;
    cursor: pointer;
}

.pc-withdraw-wallet .pc-pay-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 15px;
}

.pc-withdraw-wallet strong {
    font-size: 14px;
    color: #60666f;
}

.pc-withdraw-wallet small {
    grid-column: 2;
    font-size: 11px;
    color: #a0a5ad;
}

.pc-withdraw-wallet.is-active {
    border-color: #ff333f;
    background: #fffafa;
    box-shadow: 0 12px 30px rgba(255, 51, 63, 0.12);
}

.pc-add-wallet {
    display: inline-flex;
    justify-content: center;
    min-width: 142px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3636, #ff565d);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(255, 54, 54, 0.22);
}

.pc-withdraw-empty-card {
    width: min(360px, 100%);
    min-height: 178px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    margin-top: 8px;
    color: #b4b8bf;
    text-align: center;
}

.pc-withdraw-empty-card .pc-card-art {
    width: 150px;
    height: 96px;
    background: linear-gradient(135deg, #eeeeee, #ffffff);
    opacity: 0.9;
}

.pc-withdraw-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 170px));
    gap: 12px;
}

.pc-withdraw-stats div {
    display: grid;
    gap: 4px;
}

.pc-withdraw-stats span,
.pc-withdraw-amount span,
.pc-withdraw-password span {
    color: #555c68;
    font-size: 13px;
    font-weight: 900;
}

.pc-withdraw-stats strong {
    color: #008bc7;
    font-size: 18px;
}

.pc-withdraw-amount,
.pc-withdraw-password {
    display: grid;
    grid-template-columns: 110px minmax(160px, 220px);
    gap: 10px;
    align-items: center;
    max-width: 360px;
}

.pc-withdraw-amount input,
.pc-withdraw-password input {
    height: 38px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
    color: #333946;
    padding: 0 12px;
    box-sizing: border-box;
    outline: none;
}

.pc-withdraw-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 460px;
}

.pc-withdraw-quick button {
    min-width: 72px;
    height: 34px;
    border: 1px solid #ffd1d1;
    border-radius: 5px;
    background: #fffafa;
    color: #737a84;
    font-weight: 800;
    cursor: pointer;
}

.pc-withdraw-quick button.is-active,
.pc-withdraw-quick button:hover {
    border-color: #ff3a44;
    color: #ff3030;
}

.pc-withdraw-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    border-top: 1px solid #eeeeee;
    background: #ffffff;
}

.pc-submit-withdraw {
    min-width: 116px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #d8d8d8, #b7b7b7);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-withdraw-bottom span {
    color: #777f8a;
    font-size: 13px;
    font-weight: 800;
}

.pc-withdraw-bottom strong {
    color: #ff2b36;
    font-size: 20px;
}

.pc-withdraw-history {
    padding: 18px;
    background: #f7f7f7;
}

.pc-withdraw-confirm-pop,
.pc-withdraw-success-pop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(320px, calc(100% - 40px));
    display: none;
    background: #293249;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
    z-index: 7;
}

.pc-withdraw-confirm-pop.is-active,
.pc-withdraw-success-pop.is-active {
    display: grid;
}

.pc-withdraw-confirm-pop {
    gap: 10px;
    padding-top: 20px;
}

.pc-withdraw-confirm-pop p,
.pc-withdraw-success-pop p {
    margin: 0;
    padding: 0 18px 14px;
    color: #ffffff;
    text-align: left;
    line-height: 1.5;
}

.pc-withdraw-confirm-pop > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pc-withdraw-confirm-pop button,
.pc-withdraw-success-pop button {
    height: 52px;
    border: 0;
    color: #ffffff;
    background: #777b82;
    font-weight: 900;
    cursor: pointer;
}

.pc-withdraw-confirm-pop button:last-child,
.pc-withdraw-success-pop button {
    background: #36d8e4;
}

.pc-withdraw-success-pop {
    gap: 14px;
    padding-top: 28px;
}

.pc-withdraw-success-pop.is-error .pc-pop-icon {
    border-color: #ff5e5e;
    color: #ff5e5e;
}

@media (max-width: 1100px) {
    .pc-withdraw-shell {
        grid-template-columns: 1fr;
    }

    .pc-withdraw-history {
        min-height: 180px;
    }
}

@media (max-width: 760px) {
    .pc-withdraw-shell {
        margin: -18px -14px -88px;
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pc-withdraw-main {
        padding: 0 14px 76px;
    }

    .pc-withdraw-tabs {
        gap: 20px;
    }

    .pc-withdraw-wallet,
    .pc-add-wallet {
        min-width: calc(50% - 5px);
        flex: 1 1 calc(50% - 5px);
    }

    .pc-withdraw-stats {
        grid-template-columns: 1fr 1fr;
    }

    .pc-withdraw-amount,
    .pc-withdraw-password {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .pc-withdraw-bottom {
        height: auto;
        min-height: 64px;
        padding: 10px 14px;
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Personal Center security and settings */
.pc-security-shell {
    display: grid;
    gap: 22px;
    min-height: 100%;
}

.pc-security-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: stretch;
}

.pc-security-score-card,
.pc-security-warning,
.pc-security-status-card,
.pc-security-form,
.pc-security-message-card {
    border-radius: 10px;
    background: #f7f8fb;
    box-shadow: 0 16px 46px rgba(37, 45, 69, 0.08);
}

.pc-security-score-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 26px;
    background: linear-gradient(135deg, #fff7f7, #ffffff 62%);
}

.pc-security-score-ring {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: #c52c48;
    background: radial-gradient(circle, #fff8f8 46%, #ffedf0 47%, #f7415a 72%);
    box-shadow: 0 0 0 14px rgba(244, 65, 90, 0.08), 0 18px 44px rgba(238, 55, 82, 0.18);
}

.pc-security-score-ring span {
    font-size: 36px;
    font-weight: 900;
}

.pc-security-score-ring small {
    color: #c55a68;
    font-weight: 900;
}

.pc-security-score-card h3 {
    margin: 8px 0;
    color: #30374a;
    font-size: 26px;
    font-weight: 900;
}

.pc-security-score-card p,
.pc-security-warning span,
.pc-security-status-card small,
.pc-security-message-card li {
    color: #818895;
    line-height: 1.45;
}

.pc-security-warning {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 22px;
    border-left: 5px solid #ff3344;
    background: #fff5f4;
}

.pc-security-warning strong {
    color: #e52a35;
    font-size: 18px;
}

.pc-security-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pc-security-status-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    padding: 18px;
}

.pc-security-status-icon {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.pc-security-status-card.warn .pc-security-status-icon {
    background: linear-gradient(135deg, #ffc400, #ff8a00);
}

.pc-security-status-card.ok .pc-security-status-icon {
    background: linear-gradient(135deg, #23e6dc, #0bb7b8);
}

.pc-security-status-card strong {
    color: #4d5562;
    font-size: 15px;
}

.pc-security-status-card button {
    grid-column: 2;
    width: fit-content;
    min-width: 88px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff85f, #ff9d00);
    color: #273041;
    font-weight: 900;
    cursor: pointer;
}

.pc-security-edit-grid {
    display: grid;
    grid-template-columns: minmax(320px, 560px) minmax(260px, 1fr);
    gap: 18px;
}

.pc-security-form {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.pc-security-form label {
    display: grid;
    gap: 8px;
    color: #5d6574;
    font-size: 13px;
    font-weight: 900;
}

.pc-security-form input {
    width: 100%;
    height: 46px;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    background: #ffffff;
    color: #252d45;
    padding: 0 14px;
    box-sizing: border-box;
    outline: none;
}

.pc-security-form input:focus {
    border-color: #1ed9e4;
    box-shadow: 0 0 0 3px rgba(30, 217, 228, 0.14);
}

.pc-security-form > button {
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff85f, #ff9d00);
    color: #273041;
    font-weight: 900;
    cursor: pointer;
}

.pc-security-message-card {
    padding: 24px;
    align-content: start;
}

.pc-security-message-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 14px;
}

.pc-security-message-card li {
    padding: 14px;
    border-radius: 8px;
    background: #ffffff;
    border-left: 4px solid #33dfe8;
}

.pc-security-message-card strong {
    color: #30374a;
}

@media (max-width: 1100px) {
    .pc-security-hero,
    .pc-security-edit-grid {
        grid-template-columns: 1fr;
    }

    .pc-security-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pc-security-shell {
        gap: 14px;
    }

    .pc-security-score-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 18px;
    }

    .pc-security-score-ring {
        width: 136px;
        height: 136px;
    }

    .pc-security-status-grid {
        grid-template-columns: 1fr;
    }

    .pc-security-status-card {
        padding: 14px;
    }

    .pc-security-form,
    .pc-security-message-card,
    .pc-security-warning {
        padding: 16px;
    }
}

/* Personal Center transaction records */
.pc-record-shell {
    display: grid;
    grid-template-rows: auto auto auto minmax(260px, 1fr) auto;
    min-height: min(720px, calc(100vh - 72px));
    margin: -40px -54px;
    background: #f0f0f0;
    color: #5f6670;
}

.pc-record-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    align-items: center;
    padding: 18px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

.pc-record-summary h3 {
    margin: 7px 0 4px;
    color: #30374a;
    font-size: 22px;
    font-weight: 900;
}

.pc-record-summary p {
    margin: 0;
    color: #8a9099;
    text-align: left;
    font-size: 13px;
}

.pc-record-total-card {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5fbff, #ffffff);
    border-left: 4px solid #34dce7;
    box-shadow: 0 12px 28px rgba(37, 45, 69, 0.08);
}

.pc-record-total-card span {
    color: #858c96;
    font-size: 12px;
    font-weight: 900;
}

.pc-record-total-card strong {
    color: #30374a;
    font-size: 22px;
}

.pc-record-tabs {
    display: flex;
    gap: 28px;
    min-height: 52px;
    align-items: end;
    padding: 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-record-tabs button {
    height: 52px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #666d76;
    font-weight: 900;
    cursor: pointer;
}

.pc-record-tabs button.is-active {
    color: #ff2734;
    border-bottom-color: #ff2734;
}

.pc-record-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-record-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6e747e;
    font-size: 13px;
    font-weight: 800;
}

.pc-record-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ff2734;
}

.pc-record-date,
.pc-record-select {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
}

.pc-record-select select {
    height: 34px;
    border: 0;
    background: transparent;
    color: #59616c;
    outline: none;
}

.pc-record-filters button {
    min-width: 104px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff333f, #ff2634);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-record-table-wrap {
    overflow: auto;
    background: #eeeeee;
}

.pc-record-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
    color: #737983;
    font-size: 13px;
}

.pc-record-table thead {
    background: #f8f8f8;
}

.pc-record-table th,
.pc-record-table td {
    height: 42px;
    padding: 0 18px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
    font-weight: 700;
}

.pc-record-empty-row td {
    height: 300px;
    text-align: center;
    background: #eeeeee;
}

.pc-record-empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #777d86;
    text-align: center;
}

.pc-record-empty span {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ececec, #ffffff);
    box-shadow: inset 0 0 0 1px #e4e4e4;
}

.pc-record-empty strong {
    color: #666d76;
}

.pc-record-empty small {
    color: #969ca5;
}

.pc-record-mobile-list {
    display: none;
    padding: 14px;
    background: #eeeeee;
}

.pc-record-footer {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 28px;
    background: #ffffff;
    border-top: 1px solid #dddddd;
}

.pc-record-footer div {
    display: inline-flex;
    gap: 80px;
    align-items: center;
    color: #777d86;
    font-weight: 800;
}

.pc-record-footer strong {
    color: #ff2734;
}

.pc-record-footer a {
    color: #5d75d8;
    font-weight: 900;
    text-decoration: none;
}

.pc-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.pc-status-badge.pending { background: #fff5dd; color: #d58300; }
.pc-status-badge.success { background: #e6fbf0; color: #0a9b56; }
.pc-status-badge.failed { background: #ffe9e9; color: #e02b2b; }

@media (max-width: 1100px) {
    .pc-record-summary {
        grid-template-columns: 1fr;
    }

    .pc-record-tabs {
        gap: 18px;
        overflow-x: auto;
    }
}

@media (max-width: 760px) {
    .pc-record-shell {
        margin: -18px -14px -88px;
        min-height: auto;
        grid-template-rows: auto auto auto auto auto;
    }

    .pc-record-summary,
    .pc-record-filters,
    .pc-record-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pc-record-tabs {
        padding: 0 14px;
        gap: 16px;
    }

    .pc-record-filters {
        align-items: stretch;
    }

    .pc-record-date,
    .pc-record-select,
    .pc-record-filters button {
        width: 100%;
        justify-content: center;
    }

    .pc-record-table-wrap {
        display: none;
    }

    .pc-record-mobile-list {
        display: block;
    }

    .pc-record-footer {
        min-height: 58px;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pc-record-footer div {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }
}

/* Personal Center bonus center */
.pc-bonus-shell {
    display: grid;
    gap: 20px;
    min-height: 100%;
}

.pc-bonus-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: stretch;
    padding: 26px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 244, 92, 0.36), transparent 220px),
        linear-gradient(135deg, #1fb6c4, #0b6f7a 58%, #293249);
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(20, 86, 93, 0.22);
}

.pc-bonus-hero .pc-section-kicker,
.pc-bonus-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.pc-bonus-hero h3 {
    margin: 10px 0 8px;
    font-size: 30px;
    font-weight: 900;
    color: #fff45a;
}

.pc-bonus-hero p {
    margin: 0;
    max-width: 620px;
    text-align: left;
    line-height: 1.5;
}

.pc-bonus-balance-card {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
}

.pc-bonus-balance-card span,
.pc-bonus-balance-card small {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.pc-bonus-balance-card strong {
    font-size: 30px;
    color: #ffffff;
}

.pc-bonus-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.pc-bonus-card,
.pc-bonus-rules,
.pc-bonus-empty-panel {
    border-radius: 10px;
    background: #f7f8fb;
    box-shadow: 0 16px 46px rgba(37, 45, 69, 0.08);
}

.pc-bonus-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: grid;
    align-content: space-between;
    gap: 14px;
    padding: 18px;
}

.pc-bonus-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 90px;
    height: 90px;
    border-radius: 0 0 0 90px;
    opacity: 0.18;
}

.pc-bonus-card.daily::before { background: #ffcf24; }
.pc-bonus-card.deposit::before { background: #1ed9e4; }
.pc-bonus-card.cashback::before { background: #ff5d77; }
.pc-bonus-card.referral::before { background: #785bff; }
.pc-bonus-card.vip::before { background: #ff9d00; }

.pc-bonus-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.pc-bonus-card.daily .pc-bonus-icon { background: linear-gradient(135deg, #ffd93a, #ff9700); }
.pc-bonus-card.deposit .pc-bonus-icon { background: linear-gradient(135deg, #34eaf0, #0fa2ae); }
.pc-bonus-card.cashback .pc-bonus-icon { background: linear-gradient(135deg, #ff7190, #e7194a); }
.pc-bonus-card.referral .pc-bonus-icon { background: linear-gradient(135deg, #8c75ff, #4c36c9); }
.pc-bonus-card.vip .pc-bonus-icon { background: linear-gradient(135deg, #ffba34, #e86f00); }

.pc-bonus-card strong {
    color: #30374a;
    font-size: 17px;
}

.pc-bonus-card small {
    display: block;
    margin-top: 6px;
    color: #858c96;
    line-height: 1.35;
}

.pc-bonus-card button {
    width: 100%;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff85f, #ff9d00);
    color: #273041;
    font-weight: 900;
    cursor: pointer;
}

.pc-bonus-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.pc-bonus-rules,
.pc-bonus-empty-panel {
    padding: 22px;
}

.pc-bonus-rules ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.pc-bonus-rules li {
    padding: 13px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #747b85;
    border-left: 4px solid #34dce7;
    line-height: 1.45;
}

.pc-bonus-empty-panel {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: #8b929d;
    text-align: center;
}

.pc-bonus-empty-panel span {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eeeeee, #ffffff);
    box-shadow: inset 0 0 0 1px #e4e4e4;
}

.pc-bonus-empty-panel strong {
    color: #30374a;
}

.pc-bonus-empty-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 38px;
    border-radius: 999px;
    background: #293249;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .pc-bonus-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pc-bonus-hero,
    .pc-bonus-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pc-bonus-shell {
        gap: 14px;
    }

    .pc-bonus-hero,
    .pc-bonus-rules,
    .pc-bonus-empty-panel {
        padding: 16px;
    }

    .pc-bonus-category-grid {
        grid-template-columns: 1fr;
    }

    .pc-bonus-card {
        min-height: 160px;
    }
}

/* Personal Center referral center */
.pc-referral-shell {
    display: grid;
    gap: 18px;
    min-height: 100%;
}

.pc-referral-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: stretch;
    padding: 26px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.34), transparent 220px),
        linear-gradient(135deg, #8aa0ff, #2849b6 68%);
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(40, 73, 182, 0.22);
}

.pc-referral-hero .pc-section-kicker,
.pc-referral-hero p {
    color: rgba(255, 255, 255, 0.84);
}

.pc-referral-hero h3 {
    margin: 10px 0 8px;
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
}

.pc-referral-hero p {
    margin: 0;
    max-width: 620px;
    text-align: left;
    line-height: 1.5;
}

.pc-referral-goal-card {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.pc-referral-goal-card span,
.pc-referral-goal-card small {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
}

.pc-referral-goal-card strong {
    color: #fff45a;
    font-size: 30px;
}

.pc-referral-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pc-referral-stat-grid div,
.pc-referral-share-card,
.pc-referral-rules,
.pc-referral-empty-panel {
    border-radius: 10px;
    background: #f7f8fb;
    box-shadow: 0 16px 46px rgba(37, 45, 69, 0.08);
}

.pc-referral-stat-grid div {
    display: grid;
    gap: 6px;
    padding: 18px;
    text-align: center;
    background: linear-gradient(135deg, #c7eaff, #8372f2);
    color: #ffffff;
}

.pc-referral-stat-grid span {
    font-weight: 900;
    color: rgba(255, 255, 255, 0.84);
}

.pc-referral-stat-grid strong {
    font-size: 28px;
}

.pc-referral-share-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
    align-items: center;
}

.pc-referral-qr {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
        linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
        #ffffff;
    border: 8px solid #ffffff;
    box-shadow: 0 12px 30px rgba(37, 45, 69, 0.14);
    display: grid;
    place-items: center;
}

.pc-referral-qr span {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #36d8e4;
    box-shadow: 0 0 0 6px #ffffff;
}

.pc-referral-link-area {
    display: grid;
    gap: 12px;
}

.pc-referral-link-area label {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #5d6574;
    font-size: 13px;
    font-weight: 900;
}

.pc-referral-link-area input {
    height: 40px;
    border: 1px solid #dce4eb;
    border-radius: 8px;
    background: #ffffff;
    color: #30374a;
    padding: 0 12px;
    min-width: 0;
    box-sizing: border-box;
}

.pc-referral-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pc-referral-actions button {
    min-width: 132px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff85f, #ff9d00);
    color: #273041;
    font-weight: 900;
    cursor: pointer;
}

.pc-referral-actions button:last-child {
    background: linear-gradient(90deg, #34eaf0, #0fa2ae);
    color: #ffffff;
}

.pc-referral-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.pc-referral-rules,
.pc-referral-empty-panel {
    padding: 22px;
}

.pc-referral-rules ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.pc-referral-rules li {
    padding: 13px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #747b85;
    border-left: 4px solid #8c75ff;
    line-height: 1.45;
}

.pc-referral-empty-panel {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    color: #8b929d;
    text-align: center;
}

.pc-referral-empty-panel span {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eeeeee, #ffffff);
    box-shadow: inset 0 0 0 1px #e4e4e4;
}

.pc-referral-empty-panel strong {
    color: #30374a;
}

@media (max-width: 1000px) {
    .pc-referral-hero,
    .pc-referral-info-grid {
        grid-template-columns: 1fr;
    }

    .pc-referral-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .pc-referral-shell {
        gap: 14px;
    }

    .pc-referral-hero,
    .pc-referral-share-card,
    .pc-referral-rules,
    .pc-referral-empty-panel {
        padding: 16px;
    }

    .pc-referral-stat-grid,
    .pc-referral-share-card {
        grid-template-columns: 1fr;
    }

    .pc-referral-qr {
        margin: 0 auto;
    }

    .pc-referral-link-area label {
        grid-template-columns: 1fr;
    }

    .pc-referral-actions button {
        width: 100%;
    }
}

/* Personal Center betting records */
.pc-betting-shell {
    display: grid;
    grid-template-rows: auto auto auto minmax(260px, 1fr) auto;
    min-height: min(720px, calc(100vh - 72px));
    margin: -40px -54px;
    background: #f0f0f0;
    color: #5f6670;
}

.pc-betting-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px 28px 8px;
    background: #ffffff;
}

.pc-betting-summary h3 {
    margin: 7px 0 4px;
    color: #30374a;
    font-size: 22px;
    font-weight: 900;
}

.pc-betting-summary p {
    margin: 0;
    color: #8a9099;
    text-align: left;
    font-size: 13px;
}

.pc-betting-exclusion {
    min-width: 150px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f4848d;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-betting-tabs {
    display: flex;
    gap: 28px;
    min-height: 48px;
    align-items: end;
    padding: 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-betting-tabs button {
    height: 48px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #666d76;
    font-weight: 900;
    cursor: pointer;
}

.pc-betting-tabs button.is-active {
    color: #ff2734;
    border-bottom-color: #ff2734;
}

.pc-betting-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-betting-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6e747e;
    font-size: 13px;
    font-weight: 800;
}

.pc-betting-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ff2734;
}

.pc-betting-date,
.pc-betting-select {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
}

.pc-betting-select select {
    height: 34px;
    border: 0;
    background: transparent;
    color: #59616c;
    outline: none;
}

.pc-betting-filters button {
    min-width: 104px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff333f, #ff2634);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-betting-table-wrap {
    overflow: auto;
    background: #eeeeee;
}

.pc-betting-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    color: #737983;
    font-size: 13px;
}

.pc-betting-table thead {
    background: #f8f8f8;
}

.pc-betting-table th,
.pc-betting-table td {
    height: 42px;
    padding: 0 18px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
    font-weight: 700;
}

.pc-betting-empty-row td {
    height: 300px;
    text-align: center;
    background: #eeeeee;
}

.pc-betting-empty {
    min-height: 240px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #777d86;
    text-align: center;
}

.pc-betting-empty span {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ececec, #ffffff);
    box-shadow: inset 0 0 0 1px #e4e4e4;
}

.pc-betting-empty strong {
    color: #666d76;
}

.pc-betting-empty small {
    color: #969ca5;
}

.pc-betting-mobile-list {
    display: none;
    padding: 14px;
    background: #eeeeee;
}

.pc-betting-footer {
    min-height: 46px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    background: #ffffff;
    border-top: 1px solid #dddddd;
}

.pc-betting-footer div {
    display: flex;
    justify-content: center;
    gap: 14px;
    color: #777d86;
    font-weight: 800;
}

.pc-betting-footer strong {
    color: #ff2734;
}

@media (max-width: 1100px) {
    .pc-betting-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .pc-betting-tabs {
        gap: 18px;
        overflow-x: auto;
    }
}

@media (max-width: 760px) {
    .pc-betting-shell {
        margin: -18px -14px -88px;
        min-height: auto;
        grid-template-rows: auto auto auto auto auto;
    }

    .pc-betting-summary,
    .pc-betting-filters,
    .pc-betting-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pc-betting-tabs {
        padding: 0 14px;
        gap: 16px;
    }

    .pc-betting-filters {
        align-items: stretch;
    }

    .pc-betting-date,
    .pc-betting-select,
    .pc-betting-filters button {
        width: 100%;
        justify-content: center;
    }

    .pc-betting-table-wrap {
        display: none;
    }

    .pc-betting-mobile-list {
        display: block;
    }

    .pc-betting-footer {
        grid-template-columns: 1fr;
        min-height: 74px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pc-betting-footer div {
        justify-content: space-between;
    }
}

/* Personal Center profit and loss */
.pc-profit-shell {
    display: grid;
    grid-template-rows: auto auto auto auto minmax(220px, 1fr) auto;
    min-height: min(720px, calc(100vh - 72px));
    margin: -40px -54px;
    background: #f0f0f0;
    color: #5f6670;
}

.pc-profit-tabs {
    display: flex;
    gap: 28px;
    min-height: 52px;
    align-items: end;
    padding: 0 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-profit-tabs button {
    height: 52px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #666d76;
    font-weight: 900;
    cursor: pointer;
}

.pc-profit-tabs button.is-active {
    color: #ff2734;
    border-bottom-color: #ff2734;
}

.pc-profit-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.pc-profit-filters label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6e747e;
    font-size: 13px;
    font-weight: 800;
}

.pc-profit-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #ff2734;
}

.pc-profit-date,
.pc-profit-select {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #f8f8f8;
}

.pc-profit-select select {
    height: 34px;
    border: 0;
    background: transparent;
    color: #59616c;
    outline: none;
}

.pc-profit-filters button {
    min-width: 104px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff333f, #ff2634);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.pc-profit-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 28px;
    background: #ffffff;
}

.pc-profit-summary-grid div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5fbff, #ffffff);
    border-left: 4px solid #34dce7;
    box-shadow: 0 12px 28px rgba(37, 45, 69, 0.08);
}

.pc-profit-summary-grid div:nth-child(3),
.pc-profit-summary-grid div:nth-child(4) {
    border-left-color: #ff5362;
}

.pc-profit-summary-grid span {
    color: #858c96;
    font-size: 12px;
    font-weight: 900;
}

.pc-profit-summary-grid strong {
    color: #30374a;
    font-size: 22px;
}

.pc-profit-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 14px;
    padding: 0 28px 14px;
    background: #ffffff;
}

.pc-profit-chart-card,
.pc-profit-note-card {
    border-radius: 10px;
    background: #f7f8fb;
    box-shadow: 0 16px 46px rgba(37, 45, 69, 0.08);
}

.pc-profit-chart-card {
    padding: 18px;
}

.pc-profit-chart-placeholder {
    min-height: 150px;
    margin-top: 14px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #8b929d;
    text-align: center;
    border-radius: 8px;
    background:
        linear-gradient(180deg, transparent 0 24%, rgba(52, 220, 231, 0.12) 24% 25%, transparent 25% 49%, rgba(52, 220, 231, 0.12) 49% 50%, transparent 50% 74%, rgba(52, 220, 231, 0.12) 74% 75%, transparent 75%),
        #ffffff;
}

.pc-profit-chart-placeholder span {
    width: 160px;
    height: 58px;
    border-radius: 40px 40px 10px 10px;
    background: linear-gradient(135deg, rgba(52, 220, 231, 0.24), rgba(255, 39, 52, 0.18));
}

.pc-profit-chart-placeholder strong {
    color: #30374a;
}

.pc-profit-note-card {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border-left: 4px solid #ff2734;
}

.pc-profit-note-card strong {
    color: #ff2734;
    font-size: 18px;
}

.pc-profit-note-card p {
    margin: 0;
    text-align: left;
    color: #7d8490;
    line-height: 1.45;
}

.pc-profit-table-wrap {
    overflow: auto;
    background: #eeeeee;
}

.pc-profit-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
    color: #737983;
    font-size: 13px;
}

.pc-profit-table thead {
    background: #f8f8f8;
}

.pc-profit-table th,
.pc-profit-table td {
    height: 42px;
    padding: 0 18px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
    font-weight: 700;
}

.pc-profit-empty-row td {
    height: 250px;
    text-align: center;
    background: #eeeeee;
}

.pc-profit-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #777d86;
    text-align: center;
}

.pc-profit-empty span {
    width: 110px;
    height: 74px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ececec, #ffffff);
    box-shadow: inset 0 0 0 1px #e4e4e4;
}

.pc-profit-empty strong {
    color: #666d76;
}

.pc-profit-empty small {
    color: #969ca5;
}

.pc-profit-mobile-list {
    display: none;
    padding: 14px;
    background: #eeeeee;
}

.pc-profit-footer {
    min-height: 46px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0 28px;
    background: #ffffff;
    border-top: 1px solid #dddddd;
}

.pc-profit-footer div {
    display: inline-flex;
    gap: 60px;
    color: #777d86;
    font-weight: 800;
}

.pc-profit-footer strong,
.pc-profit-footer small {
    color: #ff2734;
}

@media (max-width: 1100px) {
    .pc-profit-tabs {
        gap: 18px;
        overflow-x: auto;
    }

    .pc-profit-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-profit-visual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .pc-profit-shell {
        margin: -18px -14px -88px;
        min-height: auto;
        grid-template-rows: auto auto auto auto auto auto;
    }

    .pc-profit-tabs,
    .pc-profit-filters,
    .pc-profit-summary-grid,
    .pc-profit-visual-grid,
    .pc-profit-footer {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pc-profit-tabs {
        gap: 16px;
    }

    .pc-profit-filters {
        align-items: stretch;
    }

    .pc-profit-date,
    .pc-profit-select,
    .pc-profit-filters button {
        width: 100%;
        justify-content: center;
    }

    .pc-profit-summary-grid {
        grid-template-columns: 1fr;
    }

    .pc-profit-table-wrap {
        display: none;
    }

    .pc-profit-mobile-list {
        display: block;
    }

    .pc-profit-footer {
        min-height: 74px;
        align-items: flex-start;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pc-profit-footer div {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }
}




/* Mobile wallet shortcuts: hidden on desktop, shown below the banner on small screens. */
.mobile-wallet-actions {
    display: none;
}

@media (max-width: 768px) {
    .mobile-wallet-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin: 10px 0 12px;
        padding: 0 2px;
        box-sizing: border-box;
    }

    a.mobile-wallet-action,
    a.mobile-wallet-action:visited {
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 14px;
        border: 1px solid rgba(87, 244, 255, 0.72);
        background: linear-gradient(180deg, #15bbc8 0%, #087987 100%);
        color: #ecffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.1;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 18px rgba(0, 0, 0, 0.24);
        -webkit-tap-highlight-color: transparent;
    }

    a.mobile-wallet-action-withdraw {
        border-color: rgba(118, 226, 221, 0.72);
        background: linear-gradient(180deg, #0c9aa7 0%, #05636f 100%);
    }

    a.mobile-wallet-action:hover,
    a.mobile-wallet-action:focus {
        color: #ecffff;
        text-decoration: none;
    }

    a.mobile-wallet-action:active {
        transform: translateY(1px);
    }

    .mobile-wallet-icon {
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(0, 57, 64, 0.34);
        color: #ffffff;
        font-size: 20px;
        font-weight: 900;
        flex: 0 0 auto;
    }

    .premium-announcement {
        margin-top: 0;
    }
}

@media (min-width: 769px) {
    .mobile-wallet-actions {
        display: none !important;
    }
}