:root {
    --t9-bg: #fffdfd;
    --t9-text: #080808;
    --t9-muted: #64748b;
    --t9-line: rgba(15, 23, 42, 0.14);
    --t9-card: #ffffff;
    --t9-card-strong: #ffffff;
    --t9-gold: #00539C;
    --t9-cyan: #00539C;
    --t9-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    --t9-radius-lg: 18px;
    --t9-radius-md: 14px;
    --t9-radius-sm: 10px;
    --t9-card-item-bg: linear-gradient(90deg, #f6f9fd 0%, #ffffff 50%, #f6f9fd 100%);
    --t9-card-item-border: #dbe5f1;
    --t9-card-item-ring: #93b7d6;
    --color-default-sub: 0, 83, 156;
    --color-text-default: 255, 255, 255;
    --color-black-rgb: 33, 37, 41;
    --t9-mobile-header-height: 64px;
    --color-text: 8, 8, 8;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--t9-text);
    font-family: 'Helvetica Neue', 'Segoe UI', 'Roboto', sans-serif;
    background-color: #FFFDFD;
    line-height: 1.5;
    position: relative;
}

.screen {
    max-width: 100vw;
    position: relative;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    column-gap: 15px;
    margin: 0 auto;
    padding: 0 10px;
}

.center {
    grid-column: 4 / 22;
}

html.menu-open,
html.menu-open body {
    overflow: hidden;
}

#container_nxn_groups {
    background: #fffdfd;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 1;
}

img {
    max-width: 100%;
    display: block;
}

.text-decoration-none {
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
}

.seo-container {
    position: absolute;
    inset: auto auto 0 0;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.header-nav-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: var(--z-sticky, 2000);
    background: #fffdfd;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.header {
    padding: 10px 0;
}

.header-inner {
    position: relative;
    display: flex;
    height: 62px;
    padding: 10px 0;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo img {
    height: 42px;
    width: 140px;
    object-fit: contain;
    object-position: left center;
}

.categories-menu1 {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.categories-menu1 button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.categories-menu1 span {
    background-color: #F3F3F7;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    display: flex;
    cursor: pointer;
    transition: all linear .3s;
}

.categories-menu1 p {
    font-weight: 600;
    font-size: 12px;
}

.categories-menu1 button span img {
    filter: invert(70%);
}

.categories-menu1 button:hover span {
    background-color: #e4e3e3;
}

@media (max-width: 1080px) {
    .categories-menu1 div p, .categories-menu1 a p {
        display: none;
    }
}

.header-desktop-main {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 400px;
    min-width: 0;
}

.header-discovery {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.container-hover-danhmucmenu {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    height: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav-wrapper.is-danhmuc-open .container-hover-danhmucmenu {
    max-height: 200px;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-bottom: 20px;
}

.container-hover-danhmucmenu a {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.container-hover-danhmucmenu a img {
    width: 20px;
}

.container-hover-danhmucmenu a span {
    color: rgba(var(--color-default-sub), 1);
    font-weight: bold;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .categories-menu1 button p {
        display: none;
    }
}

#menu-mobile {
    display: none;
}

.desktop-hide {
    display: none !important;
}

@media (max-width: 991px) {
    .center {
        padding: 0 10px;
    }

    .header-nav-wrapper {
        border-bottom: 0;
        box-shadow: none;
    }

    .header-inner {
        height: 51px;
    }

    .header-hidden-991 {
        display: none !important;
    }

    .desktop-hide {
        display: block !important;
    }

    #menu-mobile {
        display: block;
        width: 100%;
        padding: 10px 0 10px 0;
        transition: all linear .3s;
        opacity: 1;
        height: auto;
        background-color: #fffdfd;
        box-shadow: rgba(33, 37, 41, 0.16) 0px 1px 4px;
    }

    #menu-mobile .header-search-wrap {
        width: 100%;
        max-width: none;
        flex: 1;
    }

    .related-products-grid,
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.header-search-wrap {
    flex: 1;
    min-width: 220px;
    height: 40px;
    border-radius: 10px;
    border: solid 1px #DDE1EB;
    background-color: #F3F3F7;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-search-wrap:focus-within {
    border-color: #2bae66;
}

@media (max-width: 991px) {
    .header-mobile-search .header-search-wrap {
        width: 100%;
        max-width: none;
    }
}

.header-search-icon {
    width: 40px;
    height: 40px;
    background: #00539C;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.header-search-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
    display: block;
}

.header-search-icon:hover {
    background: #004481;
}

.header-search-input {
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    padding: 0 15px;
}

.header-search-input::placeholder {
    color: var(--t9-muted);
}

.header-push-menu-wrap {
    grid-column: 1 / -1;
    position: relative;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border-top: 0;
    background: transparent;
    box-shadow: none;
    transition: max-height 0.36s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.22s ease, transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.22s ease;
    will-change: max-height, opacity, transform;
}

.header-nav-wrapper.is-desktop-menu-open .header-push-menu-wrap {
    max-height: 220px;
    opacity: 1;
    transform: translateY(0);
}

.header-push-menu-wrap .container {
    padding-top: 2px;
}

.header-hover-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #00539C;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-hover-link:hover,
.header-hover-link.is-active {
    border-color: transparent;
    background: transparent;
    color: #003f76;
}

.header-hover-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .header-push-menu-wrap {
        display: none !important;
    }
}

.header-actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.header-menu-toggle {
    width: 44px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #00539C;
    background: #00539C;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.header-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

.btn-header {
    border-radius: 0.5rem;
    padding: 8px;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    background-color: #00539C;
    color: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .09);
    height: 40px;
    transition: all linear .4s;
    min-width: 115px;
    text-align: center;
}

.btn-header:hover {
    transform: translateY(-1px);
    border-color: #003f76;
    background: #003f76;
    color: #ffffff;
}

.btn-header-deposit {
    white-space: nowrap;
}


.header-search-btn-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F3F3F7;
    border: none;
    color: #475569;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.header-notification-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #F3F3F7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.is-scrolled .header-search-btn-mobile {
    display: flex;
}

.header-notification-btn:hover {
    border-color: #00539C;
    background: #e9eff7;
    color: #003f76;
    transform: translateY(-1px);
}

.header-notification-icon {
    width: 32px;
    height: 32px;
    transform: scale(1.6);
    fill: #080808;
    display: block;
}

.header-user-icon {
    width: 22px;
    height: 22px;
    color: #080808;
    stroke: currentColor;
    display: block;
}

.header-notification-btn-mobile {
    display: none;
}

.header-account-trigger,
.header-account-trigger._has_login {
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    min-height: 40px;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.header-account-trigger:hover {
    opacity: 0.8;
}

.header-account-info {
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
}

.header-account-name {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
    color: var(--t9-text);
}

.header-account-money {
    font-size: 12px;
    color: #64748b;
}

.header-account-money ._state_username {
    font-weight: 500;
    color: var(--t9-text);
}

.header-account-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 83, 156, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00539C;
    flex-shrink: 0;
    overflow: hidden;
}

.header-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    max-width: 80vw;
    background-color: #fff;
    box-shadow: 0px 1px 4px 0px #00000033;
    border: solid 1px #0000001e;
    border-radius: 8px;
}

.header-account-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #F3F3F7;
    z-index: 1001;
}

.dropdown-user-scrollable {
    display: block;
    max-height: 420px;
    overflow-y: auto;
}

.dropdown-user-scrollable::-webkit-scrollbar {
    width: 5px;
}

.dropdown-user-scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-user-scrollable::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.dropdown-user-header {
    background-color: #F3F3F7;
    color: rgba(var(--color-black-rgb), 1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: solid 1px #0000001e;
}

/* Logout item now inherits default dropdown-nav-item styles */

.dropdown-user-header span {
    font-size: 15px;
    font-weight: 800;
    color: var(--t9-text);
}

.dropdown-close-btn {
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: flex;
    padding: 4px;
    transition: color 0.2s;
}

.dropdown-close-btn:hover {
    color: #ef4444;
}

.dropdown-user-body {
    padding: 10px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dropdown-info-card {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
    padding: 15px 10px;
    background-color: rgba(var(--color-white-rgb), 1);
    border: 1px #E4E5F0 solid;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.dropdown-info-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.dropdown-info-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-info-detail {
    flex: 1;
    min-width: 0;
}

.dropdown-info-name {
    font-weight: 800;
    font-size: 15px;
    color: var(--t9-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-info-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-item {
    font-size: 12px;
    font-weight: bold;
    color: rgba(var(--color-black-rgb), .8);
}

.meta-item strong {
    color: #00539C;
}

.dropdown-action-card {
    background: #ffffff;
    border: 1px #E4E5F0 solid;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 15px 10px;
}

.dropdown-action-quick {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: space-between;
}

.action-quick-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s;
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

.action-quick-btn:hover {
    color: #00539C !important;
}

.action-icon-box {
    width: 40px;
    height: 40px;
    background: #F3F3F7;
    border: 1px solid #E4E5F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f5473;
    transition: all 0.2s;
}

.action-quick-btn:hover .action-icon-box {
    border-color: rgba(var(--color-default-sub), 0.4);
    background: #F3F3F7;
    color: #00539C;
}

.action-quick-btn:hover span {
    color: #00539C;
}

.action-quick-btn span {
    font-size: 12px;
    font-weight: 500;
    color: rgba(var(--color-black-rgb), .8);
}

.dropdown-nav-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-nav-group {
    background: #ffffff;
    border: 1px solid rgba(0, 83, 156, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.dropdown-nav-item {
    display: flex;
    align-items: center;
    padding: 11px 12px;
    gap: 12px;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.dropdown-nav-item:last-child {
    border-bottom: 0;
}

.dropdown-nav-item:hover {
    background: transparent;
}

.nav-item-icon {
    width: 40px;
    height: 40px;
    background: #F3F3F7;
    border: 1px solid #E4E5F0;
    border-radius: 12px;
    color: #4f5473;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.dropdown-nav-item:hover .nav-item-icon {
    background: #F3F3F7;
    color: #00539C;
    border-color: rgba(var(--color-default-sub), 0.2);
}

.dropdown-nav-item:hover span {
    color: #00539C;
}

.dropdown-nav-item span {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(var(--color-black-rgb), 0.85);
}

.nav-item-arrow {
    width: 12px;
    height: 12px;
    opacity: 0.3;
    transition: transform 0.2s;
}

.dropdown-nav-item:hover .nav-item-arrow {
    transform: translateX(3px);
    opacity: 0.6;
}

.nav-item-arrow {
    width: 20px;
    height: 20px;
    filter: invert(22%) sepia(98%) saturate(2861%) hue-rotate(225deg) brightness(81%) contrast(115%);
}

.dropdown-action-card {
    background: #ffffff;
    border: 1px solid rgba(0, 83, 156, 0.1);
    border-radius: 12px;
    padding: 12px;
}

.action-card-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s;
}

.action-btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.action-btn-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.action-btn span {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.dropdown-footer {
    padding: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    color: #ef4444;
    font-size: 13.5px;
    font-weight: 700;
    transition: background 0.2s;
}

.dropdown-logout-btn:hover {
    background: #fef2f2;
}

.header-account-link {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 13px;
    font-weight: 600;
    color: var(--t9-text);
    transition: background 0.25s ease, color 0.25s ease;
}

.header-account-link:last-child {
    border-bottom: 0;
}

.header-account-link:hover,
.header-account-link.is-active {
    background: rgba(0, 83, 156, 0.12);
    border-color: transparent;
    color: #00539C;
}

.header-account-link.is-active {
    color: #00539C;
}

.header-account-link.is-logout {
    color: #f87171;
}

.header-account-link.is-logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.sidebar-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100dvh;
    background: #ffffff;
    border-left: 1px solid rgba(0, 83, 156, 0.2);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 10000;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-menu.is-open {
    transform: translateX(0);
}

.sidebar-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(0, 83, 156, 0.15);
}

.sidebar-mobile-logo {
    width: 170px;
}

.sidebar-mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(15, 23, 42, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-menu-body {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
}

/* Enhanced Profile Header - Premium White Style */
.sidebar-user-profile {
    padding: 30px 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-avatar {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #00539C 0%, #0076de 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 83, 156, 0.15);
    flex-shrink: 0;
}

.sidebar-avatar svg {
    width: 28px;
    height: 28px;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-user-name {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
}

.sidebar-user-balance {
    font-size: 15px;
    font-weight: 700;
    color: #00539C;
}

.sidebar-user-welcome {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* Menu Items with Icons */
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    background: transparent;
    border-radius: 0;
}

.sidebar-item svg {
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: color 0.2s;
}

.sidebar-item:hover, .sidebar-item:active {
    background: rgba(0, 83, 156, 0.05);
    color: #00539C;
}

.sidebar-item:hover svg, .sidebar-item:active svg {
    color: #00539C;
}

.sidebar-logout-item {
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    color: #ef4444 !important;
}

.sidebar-logout-item svg {
    color: #ef4444 !important;
}

.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 4, 24, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.sidebar-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-hero {
    margin: 15px 0;
}

.home-quick-actions-container {
    display: flex;
    padding: 40px 0 !important;
}

.home-quick-actions {
    margin: 10px 0 0 !important;
}

.home-action-card {
    width: calc(100% / 6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
    padding: 0 20px;
}

.home-action-title {
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.site-footer__wrap {
    padding: 0 10px;
}

.home-banner {
    border-radius: var(--t9-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--t9-card);
    box-shadow: var(--t9-shadow);
}

.home-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    padding: 18px 0;
}

.home-features {
    padding: 0 0 16px;
    margin-top: 20px;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-feature-card {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #E4E5F0;
    border-radius: 12px;
    background: #FFFFFF;
    color: rgba(var(--color-black-rgb), 1);
}

.home-feature-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
}

.home-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-feature-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--t9-text);
    margin: 0 0 8px;
    line-height: 1.4;
    text-transform: none;
    text-align: center;
}

.home-feature-desc {
    font-size: 13px;
    color: var(--t9-muted);
    margin: 0;
    line-height: 1.6;
}

.home-guide-section {
    padding: 0 0 10px;
    margin-top: 20px !important;
}

.guide-card {
    padding: 20px;
    border: 1px solid #E4E5F0;
    border-radius: 12px;
    background: #FFFFFF;
    color: rgba(var(--color-black-rgb), 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.guide-title {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin: 10px 0;
    animation: lights 5s 750ms linear infinite;
}

.guide-content {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.guide-card.is-expanded .guide-content {
    max-height: 2000px;
}

.guide-card.is-expanded .guide-content::after {
    opacity: 0;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
}

.step-item {
    border-radius: 12px;
}

.step-item p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #475569;
}

.guide-info-block {
    margin-top: 20px;
    padding-left: 10px;
}

.guide-info-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.guide-info-block li {
    margin-bottom: 6px;
    font-size: 14px;
}

.guide-special-box {
    margin-top: 20px;
}

.guide-toggle-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0) 100%);
    font-size: 12px;
    color: rgba(var(--color-default-sub), .7);
    gap: 10px;
}

.toggle-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.guide-card.is-expanded .toggle-icon {
    transform: rotate(180deg);
}

.guide-card.is-expanded .guide-toggle-btn {
    position: relative;
    height: 50px;
    background: transparent;
    margin-top: 10px;
    bottom: auto;
}

@media (max-width: 768px) {
    .guide-title {
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .home-features {
        padding: 20px 0;
    }

    .site-footer {
        margin-top: 0 !important;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .home-feature-card {
        text-align: left;
    }
}

.section-header {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.section-header-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 {
    font-weight: bold;
    font-size: 23px;
}

.section-header img {
    width: 28px;
    height: 28px;
}

.section-header-link-wrapper {
    font-size: 13px;
    opacity: .7;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 5px;
    line-height: 1;
}

.section-header-link-wrapper img {
    height: 12px;
    width: 12px;
}

.header-decoration {
    display: none;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.section-title-glow {
    letter-spacing: 0.08em;
    font-size: 30px;
    font-weight: 800;
    text-align: left;
    color: var(--t9-text);
    white-space: nowrap;
}

.products-section {
    padding: 15px 0 !important;
}

.related-products-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 30px 0px;
}

.related-products-grid {
    padding-top: 0;
}

.product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-products-grid .product-card-inner {
    justify-content: unset;
}

@media (max-width: 1024px) {
    .related-products-grid,
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .related-products-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

.product-card {
    position: relative;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #E4E5F0;
    color: #212529;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.product-image {
    overflow: hidden;
    display: block;
    border-radius: 12px;
}

.product-image img {
    width: 100%;
    display: block;
    aspect-ratio: 25 / 15;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-title {
    padding: 5px 0 0 0;
    font-weight: bold;
    font-size: 13.5px;
    opacity: .9;
    line-height: 1.8;
}

.product-price-wrapper {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
}

.product-sold {
    opacity: .6;
    font-size: 13px;
    display: flex;
    line-height: 1.5;
    align-items: flex-end;
    gap: 5px;
}

.product-price-atm,
.product-price {
    font-size: 14px;
    line-height: 1.5;
    font-weight: bold;
    color: rgba(var(--color-default-sub), 1);
}

.product-cta {
    height: 36px;
    display: inline-block;
    width: 100%;
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
    margin-top: 8px;
    border-radius: 7px;
    font-weight: bold;
    background-color: rgba(var(--color-default-sub), 1);
    color: rgba(var(--color-text-default), 1) !important;
}

.products-section hr {
    margin: 0;
    border-bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@keyframes productPriceShimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.breadcrumb {
    padding: 10px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0;
}

.breadcrumb-list::-webkit-scrollbar {
    display: none;
}

.breadcrumb-list {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: rgba(var(--color-text), 0.5);
    font-weight: 500;
    font-size: 13px;
}

.breadcrumb-item a {
    color: rgba(var(--color-text), 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: rgba(var(--color-text), 1);
}

.breadcrumb-item:not(.active)::after {
    content: "/";
    margin: 0 10px;
    color: rgba(var(--color-text), 0.3);
    font-size: 10px;
}

.breadcrumb-item.active {
    color: rgba(var(--color-text), 1);
    font-weight: 700;
}

.categories-page {
    padding-top: 12px;
}

.catalog-shell {
    display: flex;
    flex-direction: column;
}

.categories-topbar {
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.categories-topbar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.categories-page-title {
    margin: 0;
    font-size: 24px;
    color: #1e293b;
    font-weight: 800;
}

.categories-page-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
}

.categories-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.categories-stat-card {
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 18px;
    transition: all 0.3s ease;
}

.categories-stat-card:hover {
    background: #fff;
    border-color: #2BAE66;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.categories-stat-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 6px;
}

.categories-stat-value {
    display: block;
    font-size: 24px;
    line-height: 1;
    color: #00539C;
    font-weight: 800;
}

.categories-tabs-wrap {
    display: flex;
    align-items: center;
}

.categories-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.tab-item:hover {
    color: #2BAE66;
    border-color: #2BAE66;
    background: rgba(43, 174, 102, 0.04);
}

.tab-item.active {
    background: #2BAE66;
    border-color: #2BAE66;
    color: #fff;
    box-shadow: 0 4px 12px rgba(43, 174, 102, 0.3);
}

.tab-count {
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.06);
    color: #64748b;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 800;
}

.tab-item.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.categories-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Category card — scoped to .categories-page, reuse .products-section styles */
.categories-page .category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-page .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.categories-page .category-card .product-card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.categories-page .category-card .product-image {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
}

.categories-page .category-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    display: block;
    transition: transform 0.65s ease;
}

.categories-page .category-card:hover .product-image img {
    transform: scale(1.08);
}

.categories-page .category-card .product-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
    transition: background 0.45s ease;
}

.categories-page .category-card:hover .product-image-overlay {
    background: transparent;
}

/* Type badge on category card image */
.category-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.category-type-badge--blue {
    background: #00539C;
    color: #fff;
}

.category-type-badge--purple {
    background: #2BAE66;
    color: #fff;
}

.categories-page .category-card .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 4px 4px;
    min-height: 0;
}

.categories-page .category-card .product-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

@media (min-width: 768px) {
    .categories-page .category-card .product-title {
        font-size: 13px;
        min-height: 3.75rem;
    }
}

.categories-page .category-card .product-stat {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    transition: none;
}

.categories-page .category-card:hover .product-stat {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Stat + Price row: 50/50 */
.categories-page .category-card .stat-price-row {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
}

.categories-page .category-card .product-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.categories-page .category-card .product-stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.categories-page .category-card .product-stat-label::after {
    content: ":";
}

.categories-page .category-card .product-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

/* Stat value responsive */
@media (max-width: 768px) {
    .categories-page .category-card .product-stat-value {
        font-size: 11px;
    }
}

.categories-page .category-card .product-price-block {
    flex-shrink: 0;
}

.categories-page .category-card .product-price-box {
    display: flex;
    align-items: center;
    gap: 4px;
}

.categories-page .category-card .product-price-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.categories-page .category-card .product-price-label::after {
    content: ":";
}

.categories-page .category-card .product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--t9-gold);
}

.categories-page .category-card .product-cta {
    margin-top: 15px;
    background: #00539C;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.categories-page .category-card .product-cta span {
    display: block;
}

.categories-page .category-card:hover .product-cta {
    background: #004481;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 83, 156, 0.2);
}

.category-empty-state {
    border-radius: 1.5rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.category-empty-state svg {
    color: rgba(255, 255, 255, 0.25);
}

.category-empty-state p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.nickgame-catalog-hero {
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(2, 4, 24, 0.35);
    color: rgba(255, 255, 255, 0.92);
    padding: 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.nickgame-catalog-media {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 200px;
}

.nickgame-catalog-media img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.nickgame-catalog-hero:hover .nickgame-catalog-media img {
    transform: scale(1.05);
}

.nickgame-catalog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(22, 18, 61, 0.5) 100%);
    pointer-events: none;
}

.t9-catalog-section {
    padding: 10px 0;
}

.t9-catalog-header {
    padding: 10px 0 20px;
}

.t9-catalog-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 25px;
}

.t9-catalog-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.t9-action-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
}

.t9-filter-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.t9-filter-trigger svg {
    color: #4361EE;
}

.t9-filter-trigger:hover {
    opacity: 0.8;
}

.t9-catalog-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
}

.t9-catalog-count .count-value {
    color: var(--color-text);
}

.t9-filter-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.t9-filter-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.t9-filter-modal {
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.t9-filter-modal-overlay.is-active .t9-filter-modal {
    transform: translateY(0) scale(1);
}

.t9-filter-modal-overlay:not(.is-active) .t9-filter-modal {
    transform: translateY(10px) scale(0.98);
    transition: transform 0.2s ease-in;
}

.t9-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px 12px 0 0;
}

.t9-modal-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t9-modal-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    flex-shrink: 0;
}

.t9-modal-title-group {
    display: flex;
    flex-direction: column;
}

.t9-modal-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.t9-modal-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.t9-modal-close {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.t9-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.t9-modal-body {
    padding: 0 16px 16px 16px;
    overflow-y: auto;
}

.filters-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.filter-group label {
    margin-bottom: 0;
    font-size: 13px;
    cursor: pointer;
    color: rgba(var(--color-black-rgb), .6);
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}

.t9-modal-footer {
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 0 0 16px 16px;
}

.t9-btn-reset {
    border: solid 1px #D0D5DD;
    background-color: #ffffff;
    padding: 6px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: #101828;
    border-radius: 6px;
    box-shadow: inset 1px 2px rgba(16, 24, 40, .05);
    text-align: center;
    cursor: pointer;
    flex: 1;
}

.t9-btn-apply {
    flex: 1;
    border: solid 1px #00539C;
    background-color: #00539C;
    padding: 6px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: inset 1px 2px rgba(16, 24, 40, .05);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.t9-btn-apply:hover {
    background: #004494;
}

.filters-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
}

.filters-title svg {
    color: #00539C;
}

.filters-subtitle {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.filter-group label {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.search-filters-form {
    margin-top: 16px;
}

.filters-mobile-toggle {
    display: none;
}

.filters-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-actions-row {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.filter-actions-row input[type="hidden"] {
    display: none !important;
}

.filter-actions-row ._nxn_btn {
    width: 100%;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-actions-row .btn-reset-filter {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.filter-actions-row .btn-reset-filter:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.filter-actions-row .btn-apply-filter {
    background: #00539C;
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 83, 156, 0.2);
}

.filter-actions-row .btn-apply-filter:hover {
    background: #004481;
}

.filter-actions-row .btn-refresh-filter {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.filter-actions-row .btn-refresh-filter:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.search-results-panel {
    background: #ffffff;
    color: #1e293b;
}

.search-results-topbar {
    margin-bottom: 20px;
}

.search-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.search-results-heading h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
}

.search-results-heading p {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.search-page-section .search-table-container {
    min-height: 260px;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.search-page-section ._nxn_table_pagination {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.search-page-section ._nxn_table_pagination ._nxn_pagination ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 6px;
}

.search-page-section ._nxn_table_pagination ._nxn_pagination_link,
.search-page-section ._nxn_table_pagination ._nxn_pagination > ul li span {
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(120, 94, 62, 0.35);
    background: rgba(255, 255, 255, 0.56);
    color: #5e4631;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.search-page-section ._nxn_table_pagination ._nxn_pagination_link.is_active,
.search-page-section ._nxn_table_pagination ._nxn_pagination_link.active {
    border-color: #4f5473;
    background: rgb(88, 93, 127);
    color: #f3eee7;
}

.search-page-section .empty-state-container {
    border-radius: 14px;
    border: 1px dashed rgba(118, 92, 61, 0.5);
    background: rgba(255, 255, 255, 0.45);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 20px;
}

.search-page-section .empty-state-title {
    margin: 0;
    color: #694f35;
    font-size: 20px;
}

.search-page-section .empty-state-desc {
    color: #705840;
    font-size: 13px;
    max-width: 620px;
}

.search-page-section .empty-state-btn {
    margin-top: 4px;
    border-radius: 10px;
    border: 1px solid #4f5473;
    background: rgb(88, 93, 127);
    color: #f3eee7;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 0 12px;
}

.blog-page {
    padding-top: 14px;
}

.blog-page .blog-header {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    color: #1e293b;
    padding: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.blog-page .blog-header-content {
    max-width: 760px;
}

.blog-page .section-title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e293b;
    line-height: 1.2;
    font-weight: 900;
}

.blog-page .section-subtitle {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
}

.blog-page .blog-filters {
    margin-left: auto;
}

.blog-page .search-box {
    display: flex;
    align-items: center;
    min-width: 270px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 4px 4px 4px 14px;
}

.blog-page .search-box input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #1e293b;
    font-size: 13px;
    outline: none;
}

.blog-page .search-box input::placeholder {
    color: #94a3b8;
}

.blog-page .search-box button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0, 83, 156, 0.4);
    color: #fff;
    background: linear-gradient(135deg, #00539C, #00539C);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.blog-page .search-box button:hover {
    box-shadow: 0 4px 14px rgba(0, 83, 156, 0.4);
}

.blog-page .blog-category-tabs {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-page .category-tab {
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-page .category-tab.active,
.blog-page .category-tab:hover {
    border-color: #00539C;
    background: #f1f5f9;
    color: #00539C;
    box-shadow: none;
}

.blog-page .blog-content-wrapper {
    margin-top: 18px;
}

.blog-page .magazine-hero {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 16px;
}

.blog-page .hero-featured,
.blog-page .hero-secondary,
.blog-page .blog-card .card-link {
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    color: #1e293b;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-page .hero-featured:hover,
.blog-page .hero-secondary:hover,
.blog-page .blog-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: #1e293b;
}

.blog-page .hero-image,
.blog-page .secondary-image,
.blog-page .card-image {
    position: relative;
    background: #f8fafc;
}

.blog-page .hero-image img {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
}

.blog-page .secondary-image img {
    width: 100%;
    aspect-ratio: 16 / 9.6;
    object-fit: cover;
}

.blog-page .card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-page .category-badge,
.blog-page .category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 83, 156, 0.35);
    background: rgba(0, 83, 156, 0.2);
    color: #00539C;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 9px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-page .hero-content,
.blog-page .secondary-content,
.blog-page .card-content {
    padding: 16px;
}

.blog-page .post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.blog-page .post-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.blog-page .hero-title {
    margin: 10px 0 0;
    color: #1e293b;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    line-height: 1.25;
    font-weight: 900;
}

.blog-page .secondary-title {
    margin: 8px 0 0;
    color: #1e293b;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.3;
    font-weight: 800;
}

.blog-page .hero-excerpt,
.blog-page .secondary-excerpt,
.blog-page .card-excerpt {
    margin: 8px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.blog-page .hero-footer,
.blog-page .card-footer {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.blog-page .author-info,
.blog-page .author-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-page .author-avatar,
.blog-page .author-avatar-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-page .author-avatar img,
.blog-page .author-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-page .author-name {
    font-size: 12px;
    color: #475569;
    font-weight: 700;
}

.blog-page .btn-read-more {
    border-radius: 999px;
    border: 1px solid #00539C;
    background: transparent;
    color: #00539C;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.blog-page .btn-read-more:hover {
    background: #00539C;
    color: #fff;
    transform: translateY(-1px);
}

.blog-page .blog-grid-4col {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.blog-page .card-title {
    margin: 10px 0 0;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    font-weight: 800;
}

.blog-page .blog-pagination {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blog-page .btn-circle,
.blog-page .page-num {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-page .btn-circle:hover,
.blog-page .page-num:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.blog-page .page-num.active {
    border-color: #00539C;
    background: #00539C;
    color: #fff;
}

.blog-page .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-page .page-dots {
    color: #94a3b8;
    font-size: 12px;
}

.blog-detail-page {
    padding-top: 14px;
}

.blog-detail-page .article-centered-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-detail-page .article-main,
.blog-detail-page .article-navigation-centered,
.blog-detail-page .related-posts-section {
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    color: #1e293b;
    padding: 28px;
}

.blog-detail-page .article-header-centered {
    text-align: center;
}

.blog-detail-page .article-meta-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 12px;
}

.blog-detail-page .article-meta-top .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.blog-detail-page .article-category {
    border-radius: 999px;
    border: 1px solid rgba(0, 83, 156, 0.35);
    background: rgba(0, 83, 156, 0.15);
    color: #00539C;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
}

.blog-detail-page .read-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-detail-page .article-title-centered {
    margin: 12px 0 0;
    color: #1e293b;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.3;
    font-weight: 900;
}

.blog-detail-page .article-author-centered {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.blog-detail-page .author-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-detail-page .author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-page .author-details-centered {
    text-align: left;
}

.blog-detail-page .author-name-large {
    display: block;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.blog-detail-page .post-date-info {
    color: #94a3b8;
    font-size: 12px;
}

.blog-detail-page .article-featured-image-centered {
    margin-top: 18px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.blog-detail-page .article-featured-image-centered img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.blog-detail-page .article-body-centered {
    margin-top: 20px;
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}

.blog-detail-page .article-body-centered h2,
.blog-detail-page .article-body-centered h3,
.blog-detail-page .article-body-centered h4 {
    color: #1e293b;
    margin: 24px 0 10px;
    font-weight: 800;
}

.blog-detail-page .article-body-centered a {
    color: #00539C;
    text-decoration: underline;
}

.blog-detail-page .article-body-centered img {
    max-width: 100%;
    border-radius: 1rem;
}

.blog-detail-page .article-footer-centered {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-detail-page .article-tags-section,
.blog-detail-page .article-share-section {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-detail-page .footer-label {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-page .footer-label svg {
    color: #00539C;
}

.blog-detail-page .tags-list-centered,
.blog-detail-page .share-buttons-centered {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-detail-page .tag-pill,
.blog-detail-page .share-btn {
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-detail-page .tag-pill:hover,
.blog-detail-page .share-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.blog-detail-page .share-btn.copy-link {
    font-family: inherit;
}

.blog-detail-page .article-navigation-centered {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.blog-detail-page .nav-btn {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-detail-page .nav-btn:hover {
    background: #f8fafc;
    border-color: #00539C;
}

.blog-detail-page .nav-label {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.blog-detail-page .nav-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.blog-detail-page .related-title {
    margin: 0;
    color: #1e293b;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 900;
}

.blog-detail-page .related-posts-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.blog-detail-page .related-post-card .related-link {
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-detail-page .related-post-card .related-link:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.blog-detail-page .related-image {
    position: relative;
}

.blog-detail-page .related-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-detail-page .category-badge-small {
    position: absolute;
    top: 8px;
    left: 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 83, 156, 0.35);
    background: rgba(0, 83, 156, 0.2);
    color: #00539C;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.blog-detail-page .related-content {
    padding: 12px;
}

.blog-detail-page .related-date {
    color: #64748b;
    font-size: 12px;
}

.blog-detail-page .related-title-text {
    margin: 8px 0 0;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-detail-page .related-author {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-detail-page .author-name-mini {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .blog-page .blog-grid-4col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .blog-page .blog-header {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-page .search-box {
        width: 100%;
        min-width: 0;
    }

    .blog-page .magazine-hero {
        grid-template-columns: 1fr;
    }

    .blog-page .blog-grid-4col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-detail-page .article-navigation-centered {
        grid-template-columns: 1fr;
    }

    .blog-detail-page .related-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-page .section-title {
        font-size: 24px;
    }

    .blog-page .section-subtitle {
        font-size: 13px;
    }

    .blog-page .blog-grid-4col {
        grid-template-columns: 1fr;
    }

    .blog-page .hero-title {
        font-size: 22px;
    }

    .blog-page .secondary-title {
        font-size: 18px;
    }

    .blog-detail-page .article-title-centered {
        font-size: 24px;
    }

    .blog-detail-page .article-body-centered {
        font-size: 14px;
    }

    .blog-detail-page .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

.section-minigame {
    padding: 30px 0 60px;
}

.container-minigame {
    background: #ffffff;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 32px rgba(2, 4, 24, 0.35);
}

.action-minigame {
    position: relative;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 600px;
    background: rgba(22, 18, 61, 0.92);
}

.action-minigame .background-minigame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    filter: blur(10px);
    transform: scale(1.1);
    pointer-events: none;
}

.action-minigame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 83, 156, 0.08) 0%, rgba(22, 18, 61, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.minigame-main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hc-luckywheel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}

.hc-luckywheel-container {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.hc-luckywheel-canvas {
    display: none;
}

.img-wheel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hc-luckywheel-start {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hc-luckywheel-start img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hc-luckywheel-start:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 30px rgba(217, 186, 133, 0.8);
}

.hc-luckywheel-start:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.minigame-group-action {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

.minigame-container-wheel {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.minigame-container-wheel ._nxn_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-history {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-history:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
}

.btn-spin-now {
    background: linear-gradient(135deg, #00539C 0%, #00539C 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 83, 156, 0.4);
    border: 1px solid rgba(0, 83, 156, 0.5);
}

.btn-spin-now:hover {
    box-shadow: 0 6px 24px rgba(0, 83, 156, 0.55);
    transform: translateY(-2px);
}

.minigame-details-card {
    padding: 30px;
    background: #ffffff;
    color: #475569;
}

.minigame-details-card .card-header {
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.minigame-details-card .card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: #fff;
    border-color: #00539C;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.rule-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.rule-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.rule-text strong {
    color: #00539C;
    font-weight: 800;
}

.reward-list-preview {
    text-align: center;
}

.reward-list-title {
    margin: 0 0 14px;
    font-weight: 700;
    color: #64748b;
    font-size: 13px;
}

.reward-prizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.prize-tag {
    padding: 6px 14px;
    background: rgba(43, 174, 102, 0.08);
    border: 1px solid rgba(43, 174, 102, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: #2BAE66;
    font-weight: 700;
    transition: all 0.3s ease;
}

.prize-tag:hover {
    background: #2BAE66;
    color: #fff;
    transform: translateY(-2px);
}

._minigame3_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

._minigame3_container a {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

._minigame3_container a:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #00539C;
    box-shadow: 0 15px 35px rgba(0, 83, 156, 0.2);
}

._minigame3_container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container-latthe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

.card-latthe {
    width: 140px;
    height: 190px;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.card-latthe:hover {
    transform: translateY(-5px);
}

.card-latthe .card__front,
.card-latthe .card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-latthe .card__front {
    transform: rotateY(0deg);
    background: #ffffff;
}

.card-latthe .card__back {
    transform: rotateY(180deg);
    background: #ffffff;
}

.card-latthe.card__visible .card__front {
    transform: rotateY(0deg);
}

.card-latthe.card__visible .card__back {
    transform: rotateY(180deg);
}

.card-latthe:not(.card__visible) .card__front {
    transform: rotateY(-180deg);
}

.card-latthe:not(.card__visible) .card__back {
    transform: rotateY(0deg);
}

.card-latthe .view-latthe,
.card-latthe .open-latthe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-latthe.latthe__primed {
    animation: card-shake 0.5s ease-in-out infinite;
    z-index: 20;
}

.card-latthe.latthe__primed::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    background: linear-gradient(45deg, #00539C, #00539C, #00539C);
    z-index: -1;
    animation: glow-border 1s linear infinite;
    filter: blur(5px);
}

@keyframes glow-border {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes card-shake {
    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes glow-border {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .section-minigame {
        padding: 20px 0 40px;
    }

    .action-minigame {
        padding: 40px 15px;
        min-height: 500px;
    }

    .hc-luckywheel {
        width: 300px;
        height: 300px;
    }

    .hc-luckywheel-start {
        width: 60px;
        height: 60px;
    }

    .minigame-container-wheel {
        width: 100%;
        flex-direction: column;
        padding: 15px;
        border-radius: 1.25rem;
    }

    .minigame-container-wheel ._nxn_btn {
        width: 100%;
        justify-content: center;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .minigame-details-card {
        padding: 25px 15px;
    }

    ._minigame3_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .container-latthe {
        padding: 10px;
        gap: 10px;
    }

    .card-latthe {
        width: 100px;
        height: 140px;
    }
}

.nickgame-view-section {
    padding-top: 12px;
}

.nickgame-hero-frame .nickgame-paper-frame-body {
    padding: 48px 10px 40px;
}

.nickgame-paper-frame {
    position: relative;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(2, 4, 24, 0.35);
    overflow: hidden;
}

.nickgame-paper-frame::before,
.nickgame-paper-frame::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.nickgame-paper-frame::before {
    top: 0;
    height: 44px;
    background-image: url("../images/top-bg.png");
    opacity: 0.08;
}

.nickgame-paper-frame::after {
    bottom: 0;
    height: 42px;
    background-image: url("../images/bottom-bg.png");
    opacity: 0.08;
}

.nickgame-paper-frame-body {
    position: relative;
    z-index: 0;
    background-color: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    padding: 52px 24px 50px;
}

.nickgame-gallery-slider {
    position: relative;
}

.nickgame-gallery-stage {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e6ebf5;
    background: #dce4f2;
}

.nickgame-gallery-stage img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.nickgame-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(62, 85, 141, 0.35);
    background: rgba(241, 243, 246, 0.96);
    color: #3f5891;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nickgame-gallery-btn.is-prev {
    left: 14px;
}

.nickgame-gallery-btn.is-next {
    right: 14px;
}

.nickgame-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.nickgame-gallery-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #b8c5df;
    cursor: pointer;
}

.nickgame-gallery-dots button.is-active {
    width: 24px;
    border-radius: 999px;
    background: #6c9bc9;
}

.nickgame-grid-preview {
    margin-top: 12px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e6ebf5;
    background: #dde5f2;
}

.nickgame-grid-preview img {
    width: 100%;
    aspect-ratio: 16 / 5.7;
    object-fit: cover;
    object-position: center;
}

.nickgame-hero-info {
    margin-top: 12px;
    text-align: center;
}

.nickgame-hero-title {
    margin: 10px 0 0;
    color: #3b5690;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.2;
    text-transform: uppercase;
}

.nickgame-hero-desc {
    margin: 10px 0 0;
    color: #4b639a;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.45;
}

.nickgame-detail-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    gap: 16px;
}

.nickgame-info-header {
    text-align: left;
}

.nickgame-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #b9c8df;
    background: rgba(255, 255, 255, 0.8);
    color: #5a77ac;
    font-size: 12px;
    font-weight: 700;
}

.nickgame-info-header h2 {
    margin: 0;
    color: #3b5690;
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nickgame-avatar-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
}

.nickgame-avatar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nickgame-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d7deec;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(65, 84, 125, 0.14);
}

.nickgame-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nickgame-avatar-text {
    color: #5b74a8;
    font-size: 13px;
    line-height: 1.35;
}

.nickgame-avatar-empty {
    margin: 10px 0 0;
    color: #647dae;
    font-size: 13px;
}

.nickgame-price-frame .nickgame-paper-frame-body {
    text-align: center;
}

.nickgame-price-title {
    margin: 0;
    color: #3b5690;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.2;
    text-transform: uppercase;
}

.nickgame-price-title + .nickgame-value-box {
    margin-top: 10px;
}

.nickgame-value-box {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #e7ecf4;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    color: #71a7cf;
    font-size: clamp(15px, 1.25vw, 20px);
    line-height: 1;
    font-weight: 800;
}

.nickgame-value-box.is-price {
    margin-top: 10px;
    font-size: clamp(17px, 1.45vw, 24px);
}

.nickgame-code-box > span:first-child {
    letter-spacing: 0.01em;
}

.nickgame-code-box ._nxn_copied {
    color: #6b86b9;
}

.nickgame-code-box ._nxn_copied svg {
    width: 16px;
    height: 16px;
}

.nickgame-value-box + .nickgame-price-title {
    margin-top: 16px;
}

.nickgame-atm-note {
    margin-top: 10px;
    font-size: 13px;
    color: #5873aa;
    font-weight: 700;
}

.nickgame-buy-btn {
    margin-top: 14px;
    min-height: 44px;
    width: min(88%, 260px);
    border-radius: 999px;
    border: 1px solid #4f75b0;
    background: linear-gradient(135deg, #7ca8d7 0%, #4c73ae 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(14px, 1.15vw, 18px);
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.nickgame-buy-btn:hover {
    filter: brightness(1.04);
}

/* Nickgame Detail Page (Template 9) */
.t9-nickgame-section {
    padding: 30px 0 60px;
    background: #f8fafc;
}

.t9-nickgame-hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    margin-bottom: 40px;
}

.t9-nickgame-gallery-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.t9-nickgame-gallery {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.t9-nickgame-gallery-stage img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.t9-nickgame-gallery-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 5px;
}

.t9-nickgame-gallery-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.t9-nickgame-gallery-btn:hover {
    background: #00539C;
    color: #fff;
    border-color: #00539C;
}

.t9-nickgame-gallery-dots {
    display: flex;
    gap: 6px;
}

.t9-nickgame-gallery-dots button {
    width: 25px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.t9-nickgame-gallery-dots button.is-active {
    background: #00539C;
    width: 35px;
}

/* Right Column Info */
.t9-nickgame-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t9-nickgame-summary {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.t9-nickgame-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.t9-nickgame-category {
    background: rgba(0, 83, 156, 0.08);
    color: #00539C;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.t9-nickgame-id-badge {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.t9-nickgame-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.t9-nickgame-price-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.t9-nickgame-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.t9-nickgame-price-label {
    font-weight: 700;
    color: #64748b;
    font-size: 14px;
}

.t9-nickgame-price-value {
    font-size: 32px;
    font-weight: 900;
    color: #ef4444;
}

.t9-nickgame-atm-note {
    background: #f0fdf4;
    color: #166534;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    border-left: 4px solid #2BAE66;
}

.t9-nickgame-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t9-nickgame-buy-btn {
    width: 100%;
    height: 56px;
    background: #00539C;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 83, 156, 0.25);
}

.t9-nickgame-buy-btn:hover {
    background: #004481;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 83, 156, 0.35);
}

.t9-nickgame-copy-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.t9-nickgame-copy-code:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.t9-nickgame-security-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t9-security-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* Details Section */
.t9-nickgame-details-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.t9-section-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.t9-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.t9-nickgame-grid-preview img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
}

.t9-nickgame-gallery-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.t9-nickgame-gallery-item img {
    width: 100%;
    border-radius: 12px;
}

.site-footer {
    background: #2BAE66;
    color: #fff;
    padding: 42px 0 28px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 50px 0 30px;
    }
    .site-footer__heading {
        text-align: center;
    }
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .site-footer__col:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 5px;
    }
    .site-footer__logo {
        margin: 0 auto;
    }
    .site-footer__heading {
        font-size: 13px;
    }
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.site-footer__logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

@media (max-width: 640px) {
    .site-footer__logo {
        margin: 0;
    }
}

.site-footer__brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
}

.site-footer__heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    margin: 0;
}

.site-footer__link-stack,
.site-footer__contact-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.site-footer__link-item,
.site-footer__contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-footer__link-item,
    .site-footer__contact-card {
        justify-content: center;
    }
}

.site-footer__link-item:hover,
.site-footer__contact-card:hover {
    color: #fff;
    transform: translateX(4px);
    text-decoration: none;
}

.site-footer__contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-footer__contact-label {
    font-weight: 700;
}

.site-footer__contact-value {
    display: none;
}

.site-footer__bottom {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #fff;
}

@media (max-width: 768px) {
    .site-footer__bottom {
        flex-direction: column;
        gap: 15px;
    }
}

.site-footer__working {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__working-dot {
    width: 8px;
    height: 8px;
    background: #2BAE66;
    border-radius: 50%;
    box-shadow: 0 0 10px #2BAE66;
    animation: siteFooterPulse 2s infinite;
}

@keyframes siteFooterPulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
}


@media (max-width: 790px) {
    .mobile-bottom-nav {
        display: block;
    }
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body {
        padding-bottom: 64px;
    }
}

.mobile-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 5px;
    max-width: 100%;
}

.mobile-nav-item {
    display: flex;
    color: #6c757d;
    font-size: 11px;
    text-align: center;
    position: relative;
    height: fit-content;
    line-height: 1;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-item i {
    flex-shrink: 0;
    font-size: 20px;
}

.mobile-nav-item small {
    font-size: 11px;
    text-align: center;
    position: relative;
    height: fit-content;
    line-height: 1;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-item:hover {
    color: rgba(var(--color-default-sub), 1) !important;
    background: rgba(43, 174, 102, 0.05);
}

.mobile-nav-item.is-active {
    color: rgba(var(--color-default-sub), 1) !important;
}

.mobile-nav-item.is-active svg {
    transform: translateY(-2px);
}

.mobile-nav-center {
    position: relative;
}

.mobile-nav-item.mobile-nav-center svg {
    color: var(--t9-gold);
}

.scroll-to-top, .scrollToTop {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(43, 174, 102, 0.2);
    background: #fff;
    color: #2BAE66;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.scroll-to-top svg, .scrollToTop svg {
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover, .scrollToTop:hover {
    background: #f8f8f8;
    color: #249658;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible, .scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .scroll-to-top, .scrollToTop {
        bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    }
}

.support-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-widget .btn-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #006AFF;
    box-shadow: 0 4px 15px rgba(0, 106, 255, 0.35);
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.support-widget .btn-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: support-pulse 2s infinite;
}

.support-widget .btn-frame svg {
    width: 26px;
    height: 26px;
    animation: support-wiggle 5s ease-in-out infinite;
}

.support-widget .btn-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 106, 255, 0.5);
}

@keyframes support-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes support-wiggle {
    0%, 90% { transform: rotate(0); }
    92% { transform: rotate(20deg); }
    94% { transform: rotate(-20deg); }
    96% { transform: rotate(10deg); }
    98% { transform: rotate(-10deg); }
    100% { transform: rotate(0); }
}

@media (max-width: 991px) {
    .support-widget {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 992px) {
    .sidebar-menu,
    .sidebar-backdrop {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .sidebar-menu {
        display: flex;
    }

    .sidebar-backdrop {
        display: block;
    }

    .header-actions {
        margin-left: auto;
        justify-content: flex-end;
    }

    .header-notification-btn-mobile {
        display: inline-flex;
        order: 2;
        width: 40px;
        height: 40px;
        background: #F3F3F7;
        border: none;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    .header-notification-btn-mobile .header-notification-icon {
        width: 32px;
        height: 32px;
        transform: scale(1.6);
        fill: var(--t9-text);
        display: block;
    }

    .header-menu-toggle {
        display: inline-flex;
        order: 3;
    }

    .header-logo {
        width: 185px;
    }

    .header-logo img {
        height: 42px;
    }

    .home-highlight-grid {
        grid-template-columns: 1fr;
    }

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

    .nickgame-catalog-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nickgame-catalog-media,
    .nickgame-catalog-media img {
        min-height: 200px;
    }

    .nickgame-layout {
        grid-template-columns: 1fr;
    }

    .search-page-section.nickgame-catalog-page .search-filters-container {
        position: static !important;
        left: auto;
        right: auto;
        top: auto;
        max-height: none;
        display: block;
        padding-bottom: 12px;
        overflow: visible;
    }

    .search-page-section.nickgame-catalog-page .search-filters-container .search-filters-form {
        display: none;
    }

    .search-page-section.nickgame-catalog-page .search-filters-container:not(.is-collapsed) .search-filters-form {
        display: flex;
        flex-direction: column;
    }

    .search-page-section.nickgame-catalog-page .search-filters-container .filters-row {
        overflow: visible;
        padding-right: 0;
    }

    .search-page-section.nickgame-catalog-page .search-filters-container .filter-actions-row {
        margin-top: 10px;
        padding-top: 10px;
        background: #ffffff;
    }

    .search-page-section.nickgame-catalog-page .filters-mobile-toggle {
        width: 100%;
        margin-top: 10px;
        min-height: 40px;
        border-radius: 12px;
        border: none;
        background: #00539C;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .search-page-section.nickgame-catalog-page .filters-mobile-toggle:hover {
        background: #004481;
    }

    .nickgame-paper-frame::before {
        height: 38px;
    }

    .nickgame-paper-frame::after {
        height: 36px;
    }

    .nickgame-hero-frame .nickgame-paper-frame-body {
        padding: 42px 8px 34px;
    }

    .nickgame-detail-grid {
        margin-top: 12px;
        grid-template-columns: 1fr;
    }

    .nickgame-paper-frame-body {
        padding: 45px 14px 40px;
    }

    .nickgame-buy-btn {
        width: min(92%, 360px);
    }

    .header-decoration {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1180px, calc(100% - 22px));
    }

    .header-inner {
        gap: 8px;
        padding: 8px 0;
    }

    .header-logo {
        width: 130px;
    }

    .btn-header {
        font-size: 11px;
        padding: 9px 11px;
    }

    .header-account-name {
        display: none;
    }

    .header-account-money {
        font-size: 11px;
    }

    .home-topup-name {
        font-size: 16px;
    }

    .home-topup-amount {
        font-size: 12px;
    }

    .home-live-ticker {
        padding: 8px 10px;
    }

    .home-live-ticker-item {
        font-size: 12px;
    }

    .section-title-glow {
        font-size: 22px;
    }

    .categories-page-title {
        font-size: 22px;
    }

    .categories-page-subtitle {
        font-size: 13px;
    }

    .minigame-dashboard-section {
        padding-top: 12px !important;
    }

    .nickgame-catalog-hero {
        padding: 14px;
    }

    .nickgame-catalog-info h1 {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        letter-spacing: 0.04em;
    }

    .nickgame-catalog-info p {
        font-size: 12px;
    }

    .nickgame-catalog-meta span {
        font-size: 10px;
        padding: 4px 8px;
    }

    .filters-title {
        font-size: 13px;
    }

    .filter-actions-row {
        grid-template-columns: 1fr;
    }

    .search-page-section ._nxn_table_pagination {
        justify-content: center;
    }

    .nickgame-paper-frame::before {
        height: 32px;
    }

    .nickgame-paper-frame::after {
        height: 30px;
    }

    .nickgame-paper-frame-body {
        padding: 39px 10px 34px;
    }

    .nickgame-hero-frame .nickgame-paper-frame-body {
        padding: 36px 6px 30px;
    }

    .nickgame-gallery-btn {
        width: 32px;
        height: 32px;
    }

    .nickgame-gallery-btn.is-prev {
        left: 8px;
    }

    .nickgame-gallery-btn.is-next {
        right: 8px;
    }

    .nickgame-avatar {
        width: 30px;
        height: 30px;
    }

    .nickgame-value-box {
        min-height: 44px;
        border-radius: 10px;
    }

    .nickgame-atm-note {
        font-size: 12px;
    }

    .nickgame-buy-btn {
        min-height: 40px;
        width: 100%;
    }
}

.account-page {
    padding: 0 0 15px 0;
    background-color: #f5f5f5;
}

.breadcrumb.account {
    background-color: #f5f5f5;
}

.account-page svg {
    flex-shrink: 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 15px;
}

.account-sidebar {
    position: sticky;
    top: 98px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 10px 15px 15px 15px;
}

.sidebar-user-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.account-page .dropdown-nav-item span {
    font-size: 12px;
}

.account-user-card {
    padding: 18px 14px 14px;
    text-align: center;
    position: relative;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.account-page .user-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 9px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.account-page .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-page .user-name {
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.account-page .user-id {
    margin: 0;
    color: #00539C;
    font-size: 13px;
}

.account-page .user-edit-btn,
.account-page .sidebar-toggle-btn {
    display: none;
}

.account-sidebar-menu {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-mobile-primary-links {
    display: none;
}

.account-sidebar-block {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 12px 10px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-nav-heading {
    margin: 4px 2px 6px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.account-nav-item svg {
    width: 19px;
    height: 19px;
    color: #94a3b8;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.account-nav-item:hover {
    color: #1e293b;
    background: #f8fafc;
}

.account-nav-item:hover svg {
    color: #00539C;
}

.account-nav-item.active {
    color: #00539C;
    background: rgba(0, 83, 156, 0.05);
}

.account-nav-item.active svg {
    color: #00539C;
}

.account-logout {
    border-top: none;
}

.account-page .logout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 12px;
    color: #f87171;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.account-page .logout-link:hover {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.1);
}

.account-sidebar-overlay {
    display: none;
}

.account-main {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: none;
    overflow: visible;
}

.account-main::before {
    content: none;
}

.account-card {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    color: rgba(var(--color-black-rgb), 1);
}

.account-card hr {
    margin-top: 12px;
    margin-bottom: 0;
    background-color: #E4E5F0;
    border: none;
    height: 1px;
}

.account-card-head {
    margin-bottom: 0;
}

.account-card-header-flex {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.account-card-title {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.t9-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #4b5563;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.t9-back-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.t9-back-btn svg {
    color: #6366f1;
    transition: transform 0.2s ease;
}

.t9-back-btn:hover svg {
    transform: translateX(-3px);
}

.account-card-head hr {
    margin-top: 15px;
    margin-bottom: 0;
    border: 0;
    border-top: 1px solid #f1f5f9;
}

.account-list-detail .info-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    color: #94a3b8;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.account-list-detail ._nxn_input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    flex: 1;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    padding: 0;
    height: auto;
}

.account-list-detail ._nxn_input_group {
    transition: all 0.2s ease;
    cursor: default;
}

.account-list-detail ._nxn_input_group:hover {
    border-color: #cbd5e1;
}

.support-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.nxn-2fa {
    margin-bottom: 8px;
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.support-link-item:hover {
    color: #1e293b;
}

.support-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.support-link-item:hover .support-icon-wrap {
    background: #e2e8f0;
    color: #6366f1;
    transform: scale(1.05);
}

.account-kv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
}

.account-kv-item:last-child {
    border-bottom: none;
}

.account-kv-label {
    color: rgba(var(--color-black-rgb), 1);
    font-size: 13px;
    opacity: .8;
    font-weight: 600;
}

.account-kv-value {
    font-size: 13px;
    font-weight: bold;
    opacity: .9;
}

.account-kv-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #00539C;
    background: rgba(0, 83, 156, 0.08);
}

.account-warning--account-page {
    margin-top: 20px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    padding: 15px;
}

.account-warning--account-page p {
    margin: 0;
    color: #9f1239;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.account-security-name {
    margin: 0;
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
}

.account-security-panel {
    margin-top: 10px;
}

.account-page ._nxn_input_group {
    box-sizing: border-box;
    border: solid 1px #DDE1EB;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.account-page ._nxn_pagination_link::after {
    display: none;
}

._nxn_input_group:has(._nxn_textfield_input:focus) {
    border: solid 1px #2bae66;
    background-color: rgba(var(--color-default), 0.005);
}

.account-page ._nxn_textfield_input {
    padding: 0 !important;
}

.account-page ._nxn_validator_input,
.account-page ._nxn_select_input,
.account-page input[type="text"]:not(.table-search),
.account-page input[type="password"]:not(.table-search),
.account-page input[type="email"]:not(.table-search),
.account-page textarea {
    background: transparent !important;
    border: none !important;
    color: #1e293b !important;
    font-weight: 600 !important;
}

.account-page input::placeholder,
.account-page textarea::placeholder {
    color: #94a3b8 !important;
}

.account-page label,
.account-page ._nxn_csp {
    margin-bottom: 0;
    font-size: 13px;
    cursor: pointer;
    color: rgba(var(--color-black-rgb), .6);
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}

.account-page .btn-modern-primary {
    background: #00539C;
    color: #fff;
    border: none;
    border-radius: 10px;
    min-height: 48px;
    font-weight: 700;
    padding: 0 25px;
    transition: all 0.3s ease;
}

.account-page .btn-modern-primary:hover {
    background: #004481;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 83, 156, 0.2);
}

.account-page .btn-block {
    width: 100%;
}

/* Account section shell */
.account-section {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.account-section-title {
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.account-section-title svg {
    width: 22px;
    height: 22px;
    color: #00539C;
}

/* Item box */
.account-page .item-box-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.account-page .item-box-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.account-page .item-box-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.account-page .item-box-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.account-page .item-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.account-page .item-box-card:hover .item-box-image img {
    transform: scale(1.05);
}

.account-page .item-box-info {
    padding: 12px 12px 8px;
    text-align: center;
}

.account-page .item-box-name {
    margin: 0;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-page .item-box-quantity {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.account-page .quantity-label {
    color: #94a3b8;
}

.account-page .quantity-value {
    color: #00539C;
    font-size: 14px;
    font-weight: 800;
}

.account-page .item-box-action {
    padding: 0 12px 12px;
}

.account-page .btn-withdraw {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid #00539C;
    background: transparent;
    color: #00539C;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.account-page .btn-withdraw:hover {
    background: #00539C;
    border-color: #00539C;
    color: #fff;
    transform: translateY(-1px);
}

.account-page .status-message {
    text-align: center;
    padding: 40px 16px;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
    background: #f8fafc;
}

.account-page .status-empty .status-icon,
.account-page .status-expired .status-icon,
.account-page .status-locked .status-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.account-page .status-expired .status-icon {
    border-color: #fde047;
    background: #fef9c3;
    color: #ca8a04;
}

.account-page .status-locked .status-icon {
    border-color: #fca5a5;
    background: #fee2e2;
    color: #dc2626;
}

.account-page .status-title {
    margin: 0 0 6px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.account-page .status-description {
    margin: 0 auto;
    max-width: 480px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}

.account-page .account-support-btn {
    margin-top: 18px;
}

.account-page .account-support-btn .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account-page .account-support-btn .btn:hover {
    background: #dc3545;
    color: #fff5f6;
    transform: translateY(-1px);
}

.account-page .account-support-btn .btn-block {
    width: 100%;
    max-width: 320px;
}

/* Account mail */
.account-page .account-mail-list,
.account-page .mail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-page .account-mail-item,
.account-page .mail-item {
    display: block;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 14px 15px;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.account-page .account-mail-item:hover,
.account-page .mail-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}

.account-page .account-mail-item:focus-visible,
.account-page .mail-item:focus-visible {
    outline: none;
    border-color: #00539C;
    box-shadow: 0 0 0 3px rgba(0, 83, 156, 0.15);
}

.account-page .mail-item.mail-unread {
    border-left: 4px solid #00539C;
    padding-left: 12px;
    background: #f1f5f9;
}

.account-page .mail-item.mail-read {
    opacity: 0.85;
}

.account-page .mail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.account-page .mail-from {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.account-page .mail-from svg {
    color: #00539C;
    flex-shrink: 0;
}

.account-page .mail-from-text {
    word-break: break-word;
}

.account-page .mail-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.account-page .mail-date svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.account-page .mail-subject {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.account-page .mail-content {
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    padding: 9px 11px;
}

.account-page .mail-detail-list {
    gap: 14px;
}

.account-page .mail-detail-meta {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.account-page .mail-detail-subject {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.account-page .mail-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.account-page .mail-detail-meta-item {
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
    background: #f8fafc;
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.account-page .mail-detail-meta-item span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.account-page .mail-detail-meta-item strong {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.account-page .mail-frame-wrap {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.account-page .mail-content-frame {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
    background: #fff;
}

.account-page .account-mail-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.account-page .mail-back-btn {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 83, 156, 0.4);
    background: rgba(0, 83, 156, 0.08);
    color: #00539C;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account-page .mail-back-btn:hover {
    background: rgba(0, 83, 156, 0.15);
    border-color: rgba(0, 83, 156, 0.6);
    color: #00539C;
    transform: translateY(-1px);
}

/* Account tables */
.account-page .table-wrapper {
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.account-page .table-header {
    padding: 16px 20px;
    background: #f8fafc;
}

.account-page .table-search-bar {
    margin: 0;
    border: 0;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.account-page .table-header {
    border-bottom: 2px solid #f1f5f9;
}

.table-search-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.account-page .table-search {
    width: 100%;
    height: 100%;
    border: solid 1px #DDE1EB;
    background-color: #F3F3F7;
    color: #1e293b !important;
    font-size: 13px;
    border-radius: 8px;
    padding: 0 13px;
}

.account-page .table-search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #00539C;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-page .table-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
}

.account-page ._nxn_table_main {
    margin: 0 14px 14px;
}

.account-page .table-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-page .table-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 13px 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.account-page .table-row:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.account-page .table-row-status {
    padding-top: 3px;
}

.account-page .table-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: #0dcaf0;
    box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.16);
}

.account-page .table-row[data-status="success"] .table-status-dot,
.account-page .table-row.status-success .table-status-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.account-page .table-row[data-status="pending"] .table-status-dot,
.account-page .table-row.status-pending .table-status-dot {
    background: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
}

.account-page .table-row[data-status="error"] .table-status-dot,
.account-page .table-row[data-status="failed"] .table-status-dot,
.account-page .table-row.status-error .table-status-dot,
.account-page .table-row.status-failed .table-status-dot {
    background: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18);
}

.account-page .table-row-content {
    flex: 1;
    min-width: 0;
}

.account-page .table-row-title {
    margin: 0 0 5px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.account-page .table-row-title-sub {
    color: #94a3b8;
    font-size: 12px;
}

.account-page .table-row-description {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.account-page .table-row-date {
    min-width: 140px;
    text-align: right;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.account-page .table-row-action {
    display: inline-flex;
    align-items: center;
}

.account-page .table-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid rgba(0, 83, 156, 0.4);
    background: rgba(0, 83, 156, 0.08);
    color: #00539C;
    font-size: 12px;
    text-decoration: none;
}

.account-page .table-action-link:hover {
    background: rgba(0, 83, 156, 0.15);
    border-color: rgba(0, 83, 156, 0.6);
}

.account-page ._nxn_table_pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.account-page ._nxn_itemsperpage {
    display: inline-flex;
    align-items: center;
}

.account-page ._nxn_itemsperpage ._nxn_validator_input {
    color: #1e293b !important;
}

.account-page ._nxn_pagination ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.account-page ._nxn_pagination_link,
.account-page ._nxn_pagination > ul li span {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.account-page ._nxn_pagination_link.is_active,
.account-page ._nxn_pagination_link.active,
.account-page ._nxn_pagination_link[data-current="true"] {
    background: #00539C !important;
    border-color: #00539C !important;
    color: #fff !important;
}

.account-page ._nxn_pagination_link:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
    color: #1e293b !important;
}

.account-page .table-pagination-info {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 12px;
}

.account-page .table-pagination-info span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.account-page .table-empty {
    padding: 50px 18px;
    text-align: center;
}

.account-page .table-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 83, 156, 0.08);
    border-radius: 50%;
    color: #00539C;
}

.account-page .table-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.account-page .table-empty-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.account-page .table-wrapper.is_loadding .table-list {
    opacity: 0.6;
    pointer-events: none;
}

.account-page .table-wrapper a,
.account-page .table-row a,
.account-page ._nxn_pagination_link,
.account-page ._nxn_text_split {
    text-decoration: none;
}

/* Account detail pages */
.account-page .back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 9px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.account-page .back-to-list:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    transform: translateY(-1px);
}

.account-page .personal-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-page .account-info-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.account-page .account-info-row:last-child {
    border-bottom: none;
}

.account-page .account-info-row:hover {
    background: transparent;
    border-color: #e2e8f0;
}

.account-page .account-info-row .info-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-page .account-info-row .info-value {
    color: #1e293b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.account-page .account-info-row .info-value.text-red {
    color: #ef4444;
}

.account-page .account-info-row .info-value.info-highlight {
    color: #00539C;
    font-size: 18px;
    font-weight: 900;
    text-shadow: none;
}

.account-page .account-info-row .info-value a {
    color: #00539C;
    text-decoration: underline;
}

.account-page .history-detail-container {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.account-page .history-detail-header {
    background: #f8fafc;
    border-bottom: 2px solid #f1f5f9;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #1e293b;
}

.account-page .history-detail-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.account-page .status-badge,
.account-page .history-detail-header > *:last-child:not(h3) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.account-page .status-badge.success {
    background: #dcfce7;
    border-color: #86efac;
    color: #16a34a;
}

.account-page .status-badge.warning {
    background: #fef9c3;
    border-color: #fde047;
    color: #ca8a04;
}

.account-page .status-badge.danger {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.account-page .history-section {
    padding: 18px;
    background: #ffffff;
}

.account-page .history-section + .history-section {
    border-top: 1px solid #f1f5f9;
}

.account-page .history-section-title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.account-page .history-section-title svg {
    color: #00539C;
}

.account-page .info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.account-page .info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px;
    border-bottom: 1px dashed #e2e8f0;
}

.account-page .info-item:nth-last-child(-n+2):not(:nth-child(odd):last-child) {
    border-bottom: none;
}

.account-page .history-detail-container .info-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-page .history-detail-container .info-value {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.account-page .history-detail-container .info-value.text-primary {
    color: #00539C;
    font-size: 18px;
    font-weight: 900;
    text-shadow: none;
}

.account-page .credential-box {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-page .credential-item-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 4px;
    border-bottom: 1px dashed #e2e8f0;
}

.account-page .credential-item-row:last-child {
    border-bottom: none;
}

.account-page .credential-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-page .credential-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 12px;
}

.account-page .credential-input-group:hover {
    border-color: rgba(0, 83, 156, 0.3);
}

.account-page .credential-text {
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.account-page .credential-item-row ._nxn_input_component {
    width: 100%;
}

.account-page .credentials-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-page .history-footer {
    margin-top: 14px;
}

.account-page .support-alert {
    border-radius: 12px;
    border: 1px solid #fecdd3;
    border-left: 4px solid #ef4444;
    background: #fff1f2;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-page .alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 900;
}

.account-page .alert-content {
    flex: 1;
    min-width: 0;
}

.account-page .alert-title {
    margin: 0 0 4px;
    color: #9f1239;
    font-size: 14px;
    font-weight: 700;
}

.account-page .alert-desc {
    margin: 0;
    color: #be123c;
    font-size: 13px;
    line-height: 1.5;
}

.account-page .btn-support-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 9px;
    border: 1px solid #fca5a5;
    background: #fee2e2;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.account-page .btn-support-now:hover {
    background: #fecdd3;
    border-color: #f87171;
    color: #b91c1c;
}

.account-page .table-pagination-info {
    margin-top: 0;
    border-radius: 12px;
}

.account-page .table-pagination-info .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #00539C;
    background: transparent;
    color: #00539C;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-page .table-pagination-info .btn:hover {
    background: #00539C;
    border-color: #00539C;
    color: #ffffff;
    transform: translateY(-1px);
}

.account-page .account-security-list ._nxn_input_group {
    box-sizing: border-box;
    border: none;
    outline: none;
    padding: 7px 14.5px;
    border: solid 1px #DDE1EB;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.account-page .account-security-list.account-list-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
} 

@media (min-width: 992px) {
    .account-sidebar-overlay {
        display: none !important;
    }

    .account-sidebar-menu {
        position: static;
        transform: none;
        height: auto;
        width: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }
}

@media (max-width: 991px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .account-primary-links {
        display: none !important;
    }

    .account-sidebar-menu .account-mobile-primary-links {
        display: block;
    }

    .account-sidebar {
        position: static;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        padding: 0;
    }

    .account-sidebar .dropdown-info-card {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        background: #ffffff;
        border: 1px solid rgba(0, 83, 156, 0.2);
        border-radius: 16px;
        padding: 13px 14px;
    }

    .account-sidebar .dropdown-info-avatar {
        width: 54px;
        height: 54px;
        margin: 0;
        flex-shrink: 0;
    }

    .account-sidebar .dropdown-info-avatar img {
        border-radius: 50%;
        border: 2px solid #e2e8f0;
    }

    .account-sidebar .dropdown-info-detail {
        flex: 1;
        min-width: 0;
    }

    .account-sidebar .dropdown-info-name {
        font-size: 16px;
        margin: 0 0 3px;
    }

    .account-sidebar .dropdown-info-meta {
        font-size: 12px;
    }

    #accountSidebarToggle.sidebar-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        color: #1e293b;
        cursor: pointer;
        flex-shrink: 0;
    }

    #accountSidebarToggle.sidebar-toggle-btn svg {
        width: 20px;
        height: 20px;
    }

    .account-sidebar-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: min(340px, 86vw) !important;
        height: 100dvh !important;
        z-index: 10010 !important;
        background: #f8fafc !important;
        border-left: 1px solid #e2e8f0 !important;
        box-shadow: -8px 0 20px rgba(0, 0, 0, 0.05) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
        padding: 16px 14px 18px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .account-sidebar-menu.is-open {
        transform: translateX(0) !important;
    }

    .account-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(2, 4, 24, 0.65);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        pointer-events: none;
    }

    .account-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .account-main {
        gap: 14px;
    }

    .account-card-body,
    .account-security-item,
    .account-security-panel {
        padding-left: 14px;
        padding-right: 14px;
    }

    .account-list-detail .account-security-item {
        padding: 0 !important;
    }

    .account-kv-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .account-kv-value {
        font-size: 16px;
    }

    .account-kv-value--highlight {
        font-size: 21px;
    }

    .account-security-name {
        font-size: 17px;
    }

    .account-section {
        padding: 14px;
    }

    .account-section-title {
        font-size: 22px;
    }

    .account-page .item-box-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .account-page .item-box-name {
        font-size: 14px;
        min-height: 36px;
    }

    .account-page .table-header {
        padding: 12px 14px;
    }

    .account-page .table-search-bar {
        gap: 8px;
    }

    .account-page .table-search-bar .t9-filter-trigger {
        min-width: 80px;
    }

    .account-page .table-header h2 {
        font-size: 20px;
    }

    .account-page ._nxn_table_main {
        margin: 0 10px 10px;
    }

    .account-page .table-list {
        gap: 8px;
        padding-top: 10px;
    }

    .account-page .table-row {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .account-page .table-row-status {
        display: none;
    }

    .account-page .table-row-title {
        font-size: 14px;
    }

    .account-page .table-row-description {
        font-size: 12px;
    }

    .account-page .table-row-date {
        min-width: 0;
        text-align: left;
        font-size: 11px;
    }

    .account-page ._nxn_table_pagination {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }

    .account-page ._nxn_itemsperpage {
        justify-content: center;
    }

    .account-page ._nxn_pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .account-page .table-pagination-info {
        align-items: flex-start;
    }

    .account-page .back-to-list {
        display: inline-flex;
    }

    .account-page .mail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .account-page .mail-date {
        white-space: normal;
    }

    .account-page .mail-detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .account-page .account-info-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .account-page .history-detail-header {
        padding: 14px;
    }

    .account-page .history-detail-header h3 {
        font-size: 18px;
    }

    .account-page .history-section {
        padding: 14px;
    }

    .account-page .history-section-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .account-page .info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .account-page .credential-box {
        padding: 12px;
    }

    .account-page .credential-input-group {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .account-page .credential-text {
        font-size: 13px;
    }

    .account-page .support-alert {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-page .btn-support-now {
        width: 100%;
    }

    .account-page .table-pagination-info {
        flex-direction: column;
        align-items: stretch;
    }

    .account-page .table-pagination-info .btn {
        min-height: 44px;
        white-space: normal;
        line-height: 1.35;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 640px) {
    .account-page .item-box-grid {
        grid-template-columns: 1fr;
    }

    .account-page .table-header h2,
    .account-section-title {
        font-size: 18px;
    }

    .account-page ._nxn_pagination_link,
    .account-page ._nxn_pagination > ul li span {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .account-page .back-to-list {
        width: 100%;
        justify-content: center;
    }

    .account-page .history-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .account-page .history-detail-header h3 {
        font-size: 16px;
    }

    .account-page .history-section-title {
        font-size: 15px;
    }

    .account-page .mail-item {
        padding: 12px;
    }

    .account-page .mail-subject {
        font-size: 15px;
    }

    .account-page .mail-content {
        font-size: 12px;
        padding: 8px 10px;
    }

    .account-page .mail-detail-subject {
        font-size: 18px;
    }

    .account-page .mail-back-btn {
        width: 100%;
    }

    .account-page .account-info-row .info-value,
    .account-page .history-detail-container .info-value {
        font-size: 13px;
    }

    .account-page .credential-text {
        font-size: 12px;
    }

    .account-page .support-alert {
        padding: 12px;
    }

    .account-page .alert-title {
        font-size: 13px;
    }

    .account-page .alert-desc {
        font-size: 11px;
    }
}

.auth-modal {
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    color: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.auth-container {
    display: flex;
    min-height: 580px;
    width: 100%;
}

.auth-visual {
    flex: 1.1;
    background: #f8fafc;
    display: block;
    position: relative;
    overflow: hidden;
}

.auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px 0 0 12px;
}

.auth-form-side {
    flex: 1;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.auth-header {
    text-align: left;
    margin-bottom: 24px;
}

.auth-title {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 28px;
    font-weight: 700;
}

.auth-subtitle {
    margin: 0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
}

.auth-subtitle a {
    color: #1e293b;
    text-decoration: underline;
    font-weight: 700;
}

.auth-social-row {
    display: flex;
    gap: 12px;
    margin: 12px 0 0;
}

.btn-social-box {
    width: 54px;
    height: 54px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: #fff;
}

.btn-social-box:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.btn-social-box img {
    width: 24px;
    height: 24px;
}

.auth-divider-modern {
    position: relative;
    text-align: center;
    margin: 12px 0;
}

.auth-divider-modern::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider-modern span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-input-group {
    width: 100%;
}

.auth-modal ._nxn_input_group {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 12px;
    transition: all 0.2s ease;
}

.auth-modal ._nxn_input_group:focus-within {
    border-color: #00539C;
    box-shadow: 0 0 0 1px #00539C;
}

.auth-modal input {
    font-size: 15px !important;
    color: #1e293b !important;
}

.auth-modal input::placeholder {
    color: #94a3b8 !important;
    font-weight: 500;
}



.btn-auth-primary {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: none;
    background: #00539C;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-auth-primary:hover {
    background: #004481;
}

.auth-extra-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.auth-extra-links a {
    font-size: 14px;
    font-weight: 600;
    color: #00539C;
    text-decoration: none;
}

.auth-footer-terms {
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 600;
}

.auth-footer-terms a {
    color: #00539C;
    text-decoration: none;
}

@media (max-width: 850px) {
    .auth-visual {
        display: none;
    }
    
    .auth-container {
        min-height: auto;
    }
    
    .auth-form-side {
        padding: 0;
    }
}

/* Modal Container */
._nxn_modal_container {
    position: fixed;
    inset: 0;
    z-index: 1002;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
}

._nxn_modal_container.is_active {
    display: flex;
}

._nxn_modal_content {
    width: 900px;
    max-width: calc(100vw - 32px);
    max-height: 90vh;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

._nxn_modal_header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 20px 20px 0 0;
    padding: 18px 22px;
}

._nxn_modal_header h3 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 800;
}

._nxn_modal_close {
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

._nxn_modal_close:hover {
    color: #1e293b;
    transform: scale(1.1);
}

._nxn_modal_body {
    background: transparent;
    padding: 22px;
    color: #1e293b;
}

._nxn_modal_footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 20px 20px;
    padding: 16px 22px;
}


._nxn_modal_body .auth-modal {
    width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 8px 12px;
}

._nxn_modal_body .auth-form {
    width: 100%;
}

._nxn_modal_body .auth-input-group,
._nxn_modal_body .auth-input-group > *,
._nxn_modal_body ._nxn_input_group,
._nxn_modal_body ._nxn_flex_column {
    width: 100%;
    box-sizing: border-box;
}

/* Auth modal normalization (login/register/forgotpass) */
._login_modal ._nxn_modal_content,
._register_modal ._nxn_modal_content,
._forgotpass_modal ._nxn_modal_content {
    width: 900px;
    max-width: calc(100vw - 32px);
    height: min(92vh, 760px);
    max-height: min(92vh, 760px);
    position: relative;
}

._login_modal ._nxn_modal_header,
._register_modal ._nxn_modal_header,
._forgotpass_modal ._nxn_modal_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    min-height: 0 !important;
    border: 0;
    background: transparent;
    border-radius: 0;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: auto;
}

._login_modal ._nxn_modal_header h3,
._register_modal ._nxn_modal_header h3,
._forgotpass_modal ._nxn_modal_header h3 {
    display: none;
}

._login_modal ._nxn_modal_close,
._register_modal ._nxn_modal_close,
._forgotpass_modal ._nxn_modal_close {
    margin-left: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #dbe2ea;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

._login_modal ._nxn_modal_close svg,
._register_modal ._nxn_modal_close svg,
._forgotpass_modal ._nxn_modal_close svg {
    width: 18px;
    height: 18px;
}

._login_modal ._nxn_modal_body,
._register_modal ._nxn_modal_body,
._forgotpass_modal ._nxn_modal_body {
    padding: 0;
    overflow: hidden;
    flex: 1;
}

._login_modal ._nxn_modal_body .auth-modal,
._register_modal ._nxn_modal_body .auth-modal,
._forgotpass_modal ._nxn_modal_body .auth-modal {
    padding: 0;
    border-radius: 20px;
    height: 100%;
    background: #ffffff;
}

._login_modal .auth-container,
._register_modal .auth-container,
._forgotpass_modal .auth-container {
    min-height: 0;
    height: 100%;
}

._login_modal .auth-form-side,
._register_modal .auth-form-side,
._forgotpass_modal .auth-form-side {
    padding: 32px 36px;
    overflow-y: auto;
    justify-content: center;
}

@media (max-width: 850px) {
    ._login_modal ._nxn_modal_content,
    ._register_modal ._nxn_modal_content,
    ._forgotpass_modal ._nxn_modal_content {
        max-width: calc(100vw - 20px);
        height: min(92vh, 700px);
    }

    ._login_modal .auth-container,
    ._register_modal .auth-container,
    ._forgotpass_modal .auth-container {
        height: 100%;
    }

    ._login_modal .auth-form-side,
    ._register_modal .auth-form-side,
    ._forgotpass_modal .auth-form-side {
        padding: 16px;
        justify-content: center;
    }
}

/* Modern Modal Styles */
.modern-modal {
    width: 100%;
    padding: 30px 10px;
    margin: 0 auto;
}

._checkout_minigame ._nxn_modal_content {
    width: 740px;
}

.modern-modal.wide {
    max-width: 860px;
    padding: 16px;
}

.modern-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.modern-title {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 22px;
    font-weight: 800;
}

.modern-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Modern Tabs */
.modern-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.modern-tab-btn {
    flex: 1;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.modern-tab-btn:hover {
    color: #1e293b;
    background: #f8fafc;
}

.modern-tab-btn.is-active {
    color: #00539C;
    border-bottom-color: #00539C;
    background: rgba(0, 83, 156, 0.05);
}

/* Modern Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Modern Radio Grid */
.modern-radio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modern-radio-item {
    position: relative;
}

.modern-radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modern-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modern-radio-label:hover {
    border-color: rgba(0, 83, 156, 0.4);
    background: rgba(0, 83, 156, 0.05);
    color: #00539C;
}

.modern-radio-item input[type="radio"]:checked + .modern-radio-label {
    border-color: #00539C;
    background: #00539C;
    color: #fff;
}

.modern-radio-value {
    font-weight: 700;
}

/* Checkout Info */
.checkout-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.checkout-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.checkout-info-label {
    color: #64748b;
    font-weight: 600;
}

.checkout-info-value {
    color: #1e293b;
    font-weight: 700;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* QR Code Container */
.container-qrcode {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    align-items: start;
}

.qr-container {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.qr-container img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    background: #ffffff;
    color: #94a3b8;
    font-size: 13px;
}

/* Auth Socials */
.auth-socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-social:hover {
    border-color: #00539C;
    background: rgba(0, 83, 156, 0.05);
    color: #00539C;
    transform: translateY(-1px);
}

.btn-social img {
    width: 20px;
    height: 20px;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
}

.auth-footer a {
    color: #00539C;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Input Overrides in Modal */
._nxn_modal_body ._nxn_input_group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

._nxn_modal_body ._nxn_validator_input,
._nxn_modal_body ._nxn_select_input {
    background: transparent !important;
    color: #1e293b !important;
}

._nxn_modal_body ._nxn_validator_input::placeholder,
._nxn_modal_body ._nxn_select_input::placeholder {
    color: #94a3b8 !important;
}

._nxn_modal_body ._nxn_input_start,
._nxn_modal_body ._nxn_input_end {
    color: #94a3b8;
}

/* Button Overrides */
._nxn_modal_body .btn-modern-primary,
._nxn_modal_body button[type="submit"]:not(.modern-tab-btn) {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: none;
    background: #00539C;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 83, 156, 0.25);
}

._nxn_modal_body .btn-modern-primary:hover,
._nxn_modal_body button[type="submit"]:not(.modern-tab-btn):hover {
    background: #004481;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 83, 156, 0.35);
}

@media (max-width: 768px) {
    .minigame-comment-section {
        padding: 16px;
    }
    
    .comment-actions {
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .container-qrcode {
        grid-template-columns: 1fr;
    }

    .modern-radio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    ._nxn_modal_content {
        margin: 5vh auto;
    }

    .modern-title {
        font-size: 20px;
    }

    .modern-subtitle {
        font-size: 13px;
    }

    .modern-tabs {
        border-bottom: 0;
    }

    .modern-tab-btn {
        border-bottom: 0;
        border-left: 3px solid transparent;
        margin-bottom: 0;
        margin-left: -2px;
    }

    .modern-tab-btn.is-active {
        border-left-color: rgb(88, 93, 127);
        border-bottom-color: transparent;
    }
    .modern-radio-grid._telco_value {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-socials {
        grid-template-columns: 1fr;
    }

    .qr-container img {
        max-width: 220px;
    }
}


/* Status Login Container */
._nxn_status_login {
    background: transparent;
}

._nxn_status_login.is_login {
    background: transparent;
}

._nxn_status_login.is_login ._no_login {
    display: none;
}

.sidebar-mobile-card._no_login .sidebar-mobile-user-info strong {
    font-size: 14px;
}

.sidebar-mobile-card._no_login .sidebar-mobile-user-info span {
    max-width: 220px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.35;
}

.sidebar-mobile-profile._nxn_status_login .sidebar-mobile-card._no_login {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sidebar-mobile-profile._nxn_status_login.is_login .sidebar-mobile-card._no_login {
    display: none !important;
}

.mb-15 {
    margin-bottom: 15px;
}

.table-empty-text {
    color: var(--t9-gold);
}

.minigame-dashboard {
    display: grid;
    grid-template-columns: 1fr 35%;
    gap: 15px;
}

.minigame-main-column {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    gap: 15px;
}

/* Header Card */
.minigame-header-card {
    background-color: rgba(var(--color-default-sub), 1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header-title {
    font-weight: bold;
    font-size: 20px;
    color: rgba(var(--color-text-default), 1);
}

.header-status {
    color: rgba(var(--color-text-default), 1);
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    font-weight: 400;
    font-size: 13px;
}

.header-status img {
    width: 24px;
    height: 24px;
}

/* Notice Marquee */
.play-area-content .minigame-notice-marquee {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.marquee-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-icon img {
    width: 100%;
    height: 100%;
}

.minigame-notice-marquee marquee {
    font-size: 13px;
    color: var(--color-text-default);
    font-weight: 500;
}

.winner-name {
    color: #00539C;
    font-weight: 700;
}

.winner-prize {
    color: #ef4444;
    font-weight: 700;
}

/* Play Area */
.minigame-play-area {
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    border-bottom: none;
}

.play-area-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    z-index: 1;
}

.play-area-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.play-area-actions {
    display: none !important;
}

.minigame-play-footer {
    padding: 20px 20px 30px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    border: solid 1px #E4E5F0;
    border-radius: 0 0 12px 12px;
    border-top: none;
    background-color: rgba(var(--color-white-rgb), 1);
}

.minigame-price-display {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 15px;
    line-height: 1;
    background-color: #f3f3f7;
    color: rgba(var(--color-black-rgb), 1);
}

.price-text {
    color: #10b981;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.minigame-btn-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.default-button-sub,
.default-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 30px;
    background-color: #00539C;
    border: solid 2px #00539C;
    color: rgba(var(--color-text-default), 1);
    border-radius: 8px;
    cursor: pointer;
    transition: all linear .3s;
    text-align: center;
    font-weight: 500;
}

.default-button:hover {
    background-color: #fff;
    border-color: #00539C;
    color: #00539C;
}

.default-button-sub {
    background-color: #fff;
    border-color: #00539C;
    color: #00539C;
}

.default-button-sub:hover {
    background-color: #00539C;
    border-color: #00539C;
    color: #fff;
}

@media (max-width: 640px) {
    .minigame-play-footer {
        grid-template-columns: 100%;
        padding: 16px;
        gap: 12px;
    }

    .minigame-price-display {
        width: 100%;
        height: 44px;
    }

    .minigame-btn-group {
        width: 100%;
    }

    .btn-minigame {
        flex: 1;
        height: 44px;
        font-size: 14px;
    }
}

.btn-spin-main {
    background: linear-gradient(135deg, #00539C 0%, #003a6d 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 83, 156, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-spin-main:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 83, 156, 0.6);
    color: white;
}

/* Sidebar */
.minigame-sidebar {
    border-radius: 12px;
    border: solid 1px #E4E5F0;
    padding: 15px;
    background-color: rgba(var(--color-white-rgb), 1);
    color: rgba(var(--color-black-rgb), 1);
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: start;
}

.minigame-sidebar hr {
    background-color: #E4E5F0;
    border: none;
    height: 1px;
}

.sidebar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rank-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rank-title-icon { font-size: 20px; }
.rank-title { font-size: 16px; font-weight: 800; margin: 0; color: #1e293b; }

.rank-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 5px;
    border-radius: 8px;
    border: solid 1px #E4E5F0;
}

.rank-tab-btn {
    border: none;
    background: transparent;
    padding: 9px 2px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.rank-tab-btn.active {
    background: #00539C;
    color: white;
}

.rank-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    color: #64748b;
}

.rank-1 { background: #fef3c7; color: #d97706; }
.rank-2 { background: #cbd5e1; color: #475569; }
.rank-3 { background: #fde6d2; color: #c2410c; }

.rank-user { flex: 1; font-size: 14px; font-weight: 600; color: #1e293b; }
.rank-value { font-size: 14px; font-weight: 800; color: #00539C; }

/* Rules Card */
.side-card-title { font-size: 16px; font-weight: 800; margin-bottom: 15px; }
.side-rules-list { display: flex; flex-direction: column; gap: 10px; }
.rule-mini-item { display: flex; gap: 10px; align-items: flex-start; }
.rule-dot { width: 6px; height: 6px; background: #00539C; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.rule-mini-item p { margin: 0; font-size: 13.5px; color: #64748b; line-height: 1.5; }

.rank-empty {
    padding: 30px 0;
    text-align: center;
}

.rank-empty p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 1024px) {
    .minigame-dashboard { grid-template-columns: 1fr; }
    .minigame-sidebar { order: 2; }
}

/* LUCKY WHEEL DASHBOARD OVERRIDES */
/* DASHBOARD GAME OVERRIDES */
.wheel-wrapper {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.minigame-play-area .hc-luckywheel {
    width: 100% !important;
    height: auto !important;
}

.minigame-play-area .hc-luckywheel-container {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100%;
    position: relative;
}

.minigame-play-area .hc-luckywheel-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.minigame-play-area .img-wheel {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

.minigame-play-area .hc-luckywheel-start {
    width: 70px;
    height: 70px;
}

.minigame-play-area .container-latthe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 40px;
    padding: 100px 0px 50px 0px;
    justify-items: center;
}

.minigame-play-area .card-latthe {
    width: 100% !important;
    max-width: 150px;
    height: auto !important;
    aspect-ratio: 140 / 190;
}

@media (max-width: 768px) {
    .wheel-wrapper {
        max-width: 320px;
    }
    .minigame-play-area {
        min-height: 480px;
    }
    .minigame-play-area .container-latthe {
        gap: 15px;
        padding: 0 10px;
    }
    .minigame-play-area .card-latthe {
        max-width: none;
    }

    .minigame-play-area ._minigame3_container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        gap: 20px !important;
        padding: 0 !important;
    }
    .minigame-play-area ._nxn_minigame3_checkout {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* GIFT BOX DASHBOARD OVERRIDES */
.minigame-play-area ._minigame3_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 30px;
    padding: 50px 0px 20px 0px;
    justify-items: center;
    max-width: unset !important;
}

.minigame-play-area ._nxn_minigame3_checkout {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.minigame-play-area ._nxn_minigame3_checkout:hover {
    transform: scale(1.1) translateY(-10px);
}

.minigame-play-area ._nxn_minigame3_checkout img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
}

@media (max-width: 1550px) {
    .center {
        grid-column:2 / 24;
    }
}

@media (max-width: 1250px) {
    .center {
        grid-column:1 / 25;
    }
}

@media (max-width: 1300px) {
    .center {
        max-width:1210px;
    }
}

@media (max-width: 1024px) {
    .home-action-card {
        width: calc(100% / 4);
    }
}

@media (max-width: 750px) {
    #container {
        padding:20px 5px;
    }

    .home-action-card {
        padding: 0 10px;
        width: calc(100% / 3);
    }

    .home-action-image {
        width: 35px;
    }

    .home-action-title {
        font-size: 11px;
    }

    .product-cta {
        font-size: 12px;
    }

    .section-title-glow {
        font-size: 14px !important;
        align-items: center;
    }

    .center {
        padding: 0;
    }

    .related-products-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-features {
        margin-bottom: 8px;
    }

    .t9-filter-trigger,
    .t9-action-text {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .header-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        justify-content: flex-end !important;
    }

    .t9-filter-modal {
        max-height: 70vh;
    }

    .desktop-hide {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .categories-stats {
        gap: 8px;
    }

    .categories-stat-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    ._nxn_status_login.is_login ._has_login {
        display: none !important;
    }

    .related-products-grid,
    .product-grid {
        gap: 7px;
        grid-template-columns: repeat(2, 1fr);
    }
}

.minigame-comment-section {
    padding: 20px;
    background-color: rgba(var(--color-white-rgb), 1);
    color: rgba(var(--color-black-rgb), 1);
    border: 1px solid #dcdee9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-title {
    font-weight: bold;
    font-size: 18px;
}

.comment-list {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    max-height: 500px;
    overflow: auto;
    padding-right: 5px;
    margin-right: -5px;
    scroll-behavior: auto;
}

.comment-item {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-name {
    font-size: 14px;
    font-weight: 700;
    color: rgba(var(--color-black-rgb), 1);
}

.dot-separator {
    color: #94a3b8;
    font-size: 10px;
}

.comment-time {
    font-size: 12px;
    color: #212529;
}

.comment-text {
    font-size: 12.5px;
    opacity: 1;
    font-weight: 400;
}

.comment-actions {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.comment-action-btn {
    font-size: 12.5px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    line-height: 1;
    align-items: flex-end;
    color: rgba(var(--color-black-rgb), .7);
    cursor: pointer;
}

.comment-action-btn:hover {
    color: #00539C;
}

/* Comment Input Area */
.comment-input-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
}

.comment-input-group {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.input-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.input-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-textarea {
    flex: 1;
    min-height: 80px;
    padding: 12px 16px;
    border: 1px solid #E4E5F0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    resize: vertical;
    transition: all 0.2s ease;
}

.comment-textarea:focus {
    outline: none;
    border-color: #00539C;
    box-shadow: 0 0 0 3px rgba(0, 83, 156, 0.1);
}

.comment-submit-row {
    display: flex;
    justify-content: flex-start;
}

.btn-submit-comment {
    width: fit-content !important;
    padding: 8px 30px !important;
}

@media (max-width: 768px) {
    .minigame-comment-section {
        padding: 16px;
    }
    
    .comment-actions {
        gap: 15px;
    }
}
