@font-face {
    font-family: 'LemonMilk';
    src: url('../fonts/lemon_milk.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LemonMilkExtra';
    src: url('../fonts/lemonmilk_extra.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montar';
    src: url('../fonts/montar_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato_regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LatoBlack';
    src: url('../fonts/lato_black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Shatoshi';
    src: url('../fonts/shatoshibold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SanFrancisco';
    src: url('../fonts/san_francisco.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Bangla';
    src: url('../fonts/bangla.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BanglaBold';
    src: url('../fonts/bangla_bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'SecondaryFont';
    src: url('../fonts/secondary_font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
    background: transparent !important;
}

html {
    overflow-x: clip !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    min-height: 100% !important;
    overscroll-behavior-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background-color: #040814 !important;
}

body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100% !important;
    overscroll-behavior-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background-color: #040814 !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    position: relative !important;
}

input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
    touch-action: auto !important;
    caret-color: #3b82f6 !important;
}

.app-wrapper {
    overflow-x: clip !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
    padding-top: 65px !important;
    padding-bottom: 75px !important;
    box-sizing: border-box !important;
}

.app-header,
.header,
.sub-header,
.notice-app-header,
.top-app-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    height: 65px !important;
    min-height: 65px !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
    background: #040814 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    transform: none !important;
}

.tabs-sticky-bar,
.filter-segment-wrap {
    position: fixed !important;
    top: 65px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    z-index: 9996 !important;
    background: #040814 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

.fab-premium-chat {
    position: fixed !important;
    bottom: 85px !important;
    right: 20px !important;
    z-index: 9995 !important;
    pointer-events: auto !important;
}

@media (min-width: 501px) {
    .fab-premium-chat {
        right: calc(50% - 250px + 20px) !important;
    }
}

img {
    max-width: 100%;
    height: auto;
}

.game-logo {
    width: 62px !important;
    height: 62px !important;
    min-width: 62px !important;
    min-height: 62px !important;
    max-width: 62px !important;
    max-height: 62px !important;
    border-radius: 14px !important;
    border: 1.5px solid rgba(0, 102, 255, 0.35) !important;
    object-fit: cover !important;
    background: #060a17 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.subcat-thumb-box {
    width: 98px !important;
    height: 68px !important;
    min-width: 98px !important;
    max-width: 98px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #02040a !important;
    border: none !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.subcat-thumb-box img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.subcat-list {
    padding: 14px 14px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.subcat-card,
a.subcat-card,
a.subcat-card:link,
a.subcat-card:visited,
a.subcat-card:hover,
a.subcat-card:active {
    position: relative !important;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(9, 14, 33, 0.95) 50%, #050814 100%) !important;
    border: 2px solid #0066ff !important;
    border-radius: 15px !important;
    padding: 10px 13px !important;
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    text-decoration: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(0, 102, 255, 0.16), 0 0 10px rgba(0, 102, 255, 0.2) !important;
    transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.subcat-card:hover {
    border-color: #38bdf8 !important;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.22) 0%, rgba(9, 14, 33, 0.95) 50%, #050814 100%) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65), inset 0 0 22px rgba(0, 102, 255, 0.22), 0 0 12px rgba(0, 102, 255, 0.35) !important;
}

.subcat-card:active {
    transform: scale(0.98) !important;
    border-color: #60a5fa !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), inset 0 0 18px rgba(0, 102, 255, 0.25) !important;
}

.subcat-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2.5px !important;
}

.subcat-name,
a.subcat-card .subcat-name {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-decoration: none !important;
    line-height: 1.25 !important;
}

.subcat-live-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5.5px !important;
    padding: 2.5px 8px !important;
    border-radius: 12px !important;
    width: fit-content !important;
    margin-top: 2px !important;
}

.subcat-live-badge.live-active {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.32) !important;
}

.subcat-live-badge.live-empty {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.32) !important;
}

.subcat-live-dot {
    width: 5.5px !important;
    height: 5.5px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.subcat-live-dot.dot-green {
    background: #10b981 !important;
    box-shadow: 0 0 6px #10b981 !important;
}

.subcat-live-dot.dot-red {
    background: #ef4444 !important;
    box-shadow: 0 0 6px #ef4444 !important;
}

.subcat-live-text {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.subcat-live-text.text-green {
    color: #34d399 !important;
}

.subcat-live-text.text-red {
    color: #f87171 !important;
}

.subcat-chevron,
a.subcat-card .subcat-chevron {
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    flex-shrink: 0 !important;
    padding-left: 2px !important;
    text-decoration: none !important;
}

.match-img {
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.header-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.back-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.back-icon-btn svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
}

.header-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    user-select: none !important;
    cursor: default !important;
}

a,
button,
select,
[role="button"],
.btn-main,
.nav-item,
.join-main-btn,
.back-icon-btn {
    touch-action: manipulation;
}

a:active,
button:active,
.btn-main:active,
.match-card:active,
.vertical-cat-card:active,
.subcat-card:active,
.join-main-btn:active,
.back-icon-btn:active {
    transform: scale(0.975);
    transition: transform 0.08s ease-out;
}

img {
    image-rendering: auto;
}

@keyframes pnShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.pn-skeleton-base {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.03) 75%) !important;
    background-size: 200% 100% !important;
    animation: pnShimmer 1.4s infinite linear !important;
    border-radius: 8px;
    pointer-events: none !important;
}

.pn-skeleton-card {
    background: #0b1120 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-sizing: border-box;
}

.pn-skeleton-line {
    height: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.pn-skeleton-circle {
    border-radius: 50% !important;
}

.footer-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    height: 70px !important;
    background: #040814 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: stretch !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 9999999 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    isolation: isolate !important;
}

body[data-pn-page="tab"] .footer-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 70px !important;
    pointer-events: auto !important;
    z-index: 9999999 !important;
}

body[data-pn-page="inner"] .footer-nav,
.footer-nav.pn-hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    height: 0px !important;
    max-height: 0px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-nav .nav-item {
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    flex: 1 1 0% !important;
    text-align: center !important;
    text-decoration: none !important;
    color: #777777 !important;
    font-size: 11px !important;
    transition: color 0.15s ease !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.footer-nav .nav-item i,
.footer-nav .nav-item span {
    pointer-events: none !important;
}

#pn-top-progress,
.pn-top-progress,
.pn-top-progress-bar,
.top-progress,
.top-progress-bar,
[id*="top-progress"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0px !important;
    width: 0px !important;
    max-height: 0px !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    transform: none !important;
}

/* Neutralize legacy styles injected by old Flutter APKs */
#__playNationNativeStyle {
    display: none !important;
}

.match-card, .category-card, .product-card, .transaction-card, .info-box, .stat-card {
    transform: none !important;
    -webkit-transform: none !important;
    contain: layout style;
}

a, button, [role="button"], .join-main-btn, .match-card, .vertical-cat-card, .subcat-card, .back-icon-btn, .nav-item {
    touch-action: auto !important;
}

.footer-nav, .footer-nav * {
    touch-action: manipulation !important;
}

