/* ??ng b? font Orbit shell */
html,
body {
    font-family: Outfit, system-ui, sans-serif;
}

/* =============================
   Shell ? light / dark (html.dark)
   ============================= */
:root {
    --rf-bg: #f4f6f9;
    --rf-surface: #ffffff;
    --rf-surface-2: #f8fafc;
    --rf-line: rgba(15, 23, 42, 0.1);
    --rf-blue: #2563eb;
    --rf-blue-soft: #3b82f6;
    --rf-muted: #64748b;
    --rf-text: #0f172a;
    --rf-text-soft: #334155;
    --rf-nav-muted: #64748b;
    --rf-nav-section: #94a3b8;
    --rf-topbar-bg: rgba(255, 255, 255, 0.92);
    --rf-sidebar-bg: #ffffff;
    --rf-card: #ffffff;
    --rf-card-border: rgba(15, 23, 42, 0.1);
    --rf-card-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.35);
    --rf-icon-btn-fg: #475569;
}
html.dark {
    --rf-bg: #0a0a0a;
    --rf-surface: #121212;
    --rf-surface-2: #161616;
    --rf-line: rgba(255, 255, 255, 0.08);
    --rf-blue: #3b82f6;
    --rf-blue-soft: #60a5fa;
    --rf-muted: #8b8b8b;
    --rf-text: #f5f5f5;
    --rf-text-soft: #cfcfcf;
    --rf-nav-muted: #a3a3a3;
    --rf-nav-section: #525252;
    --rf-topbar-bg: rgba(15, 15, 15, 0.92);
    --rf-sidebar-bg: #0a0a0a;
    --rf-card: #121212;
    --rf-card-border: rgba(255, 255, 255, 0.1);
    --rf-card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 36px -24px rgba(0, 0, 0, 0.9);
    --rf-icon-btn-fg: #cfcfcf;
}
.rf-shell-overlay {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}
.rf-topbar {
    border-bottom: 1px solid var(--rf-line);
    background: var(--rf-topbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.rf-topbar-chip {
    border-radius: 0.7rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    padding: 0.4rem 0.65rem;
}
.rf-icon-btn {
    display: inline-flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    color: var(--rf-icon-btn-fg);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.rf-icon-btn:hover {
    border-color: rgba(59, 130, 246, 0.35);
    color: var(--rf-blue-soft);
    background: rgba(59, 130, 246, 0.08);
}
/* Hamburger topbar ? icon r?, kh?ng vi?n/? */
.rf-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--rf-text);
    cursor: pointer;
    transition: color 0.15s ease, opacity 0.15s ease;
}
.rf-menu-toggle:hover {
    color: var(--rf-blue);
    opacity: 1;
    background: transparent !important;
    border: 0 !important;
}
.rf-menu-toggle:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.55);
    outline-offset: 2px;
}
.rf-menu-toggle svg {
    width: 1.35rem;
    height: 1.35rem;
    stroke-width: 2.25;
}
.rf-avatar {
    border-radius: 0.7rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(37, 99, 235, 0.35));
    color: #eff6ff;
}
.rf-user-trigger {
    border-radius: 0.8rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    padding: 0.2rem 0.45rem 0.2rem 0.2rem;
}
.rf-user-trigger::-webkit-details-marker { display: none; }
.rf-user-menu {
    border-radius: 0.9rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.35);
}
html.dark .rf-user-menu {
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.75);
}
.rf-user-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-text-soft);
    transition: background 0.15s ease, color 0.15s ease;
}
.rf-user-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #fff;
}
.rf-user-link.is-danger { color: #fb7185; }
.rf-user-link.is-danger:hover { background: rgba(244, 63, 94, 0.1); color: #fda4af; }

.rf-sidebar {
    border-right: 1px solid var(--rf-line);
    background: var(--rf-sidebar-bg);
    color: var(--rf-nav-muted);
    overflow: hidden;
}
.rf-sidebar-brand {
    border-bottom: 1px solid var(--rf-line);
    justify-content: center;
}
.rf-sidebar-nav {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge c? */
    overscroll-behavior: contain;
    padding-bottom: 0.5rem !important;
}
.rf-sidebar-nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important; /* Chrome/Safari */
}
.rf-sidebar-nav #navbar-nav {
    margin-bottom: 0;
    padding-bottom: 0;
}
/* D?n SimpleBar n?u theme v?n g?n (tr?nh thanh x?m + kho?ng tr?ng) */
.rf-sidebar .simplebar-track,
.rf-sidebar .simplebar-scrollbar,
.app-menu.rf-sidebar .simplebar-track {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.rf-sidebar .simplebar-placeholder {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
}
.rf-brand-mark {
    border-radius: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #fff;
    box-shadow: none;
}
.rf-brand-mark img {
    filter: brightness(0) !important;
}
.rf-nav-brand-name {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.15;
    color: var(--rf-text);
    text-align: center;
}
.rf-nav-brand-initial {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--rf-text);
    line-height: 1;
    text-align: center;
}
.rf-nav-section {
    margin-top: 1.35rem;
    margin-bottom: 0.65rem;
    padding: 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rf-nav-section);
}
.rf-nav-section:first-child { margin-top: 0.5rem; }
.rf-nav-section.is-admin { color: var(--rf-nav-section); }
.rf-nav-link.is-admin { color: var(--rf-nav-muted); }
.rf-nav-link.is-admin:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--rf-text);
}
.rf-nav-link.is-admin.is-active {
    background: #3b82f6;
    color: #fff;
    box-shadow: none;
}
#navbar-nav,
.rf-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
#navbar-nav > li + .rf-nav-section {
    margin-top: 1.15rem;
}
.rf-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.6rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--rf-nav-muted);
    transition: background 0.15s ease, color 0.15s ease;
}
.rf-nav-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--rf-text);
}
.rf-nav-link.is-active {
    background: #3b82f6;
    color: #fff;
    box-shadow: none;
}
.rf-nav-link.is-active::before,
.rf-nav-link.is-active::after {
    display: none !important;
    content: none !important;
}
.rf-nav-link.is-active .rf-nav-ico {
    width: 1.2rem;
    height: 1.2rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.rf-nav-ico {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    opacity: 0.95;
    display: block;
    color: inherit;
}
.rf-nav-label {
    line-height: 1.3;
    display: inline;
    min-width: 0;
    white-space: nowrap;
    font-size: inherit;
}
.rf-nav-link--sub {
    margin-left: 0.35rem;
    padding: 0.42rem 0.7rem;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 0.55rem;
}
.rf-nav-link--sub .rf-nav-ico {
    width: 1.05rem;
    height: 1.05rem;
}
.rf-nav-link--sub.is-active .rf-nav-ico {
    width: 1.05rem;
    height: 1.05rem;
}

/* Nav dropdown accordion (L?ch s? mua h?ng) */
.rf-nav-details {
    margin: 0;
}
.rf-nav-details > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.rf-nav-details > summary::-webkit-details-marker { display: none; }
.rf-nav-drop__btn {
    width: 100%;
    justify-content: flex-start;
}
.rf-nav-drop__chev {
    width: 0.95rem;
    height: 0.95rem;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.18s ease;
}
.rf-nav-details[open] > .rf-nav-drop__btn .rf-nav-drop__chev {
    transform: rotate(180deg);
}
/* Ch? ???ng g?ch tr?i ? kh?ng khung, kh?ng n?n */
.rf-nav-drop__menu,
.rf-nav-drop__panel {
    list-style: none;
    display: grid;
    gap: 0.12rem;
    margin: 0.35rem 0 0.15rem 1.15rem;
    padding: 0.1rem 0 0.1rem 0.75rem;
    border: 0 !important;
    border-left: 2px solid rgba(59, 130, 246, 0.45) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}
.rf-nav-drop__menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
    background: transparent;
}
.rf-nav-drop__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-nav-muted);
    text-decoration: none;
    background: transparent;
    box-shadow: none;
    transition: color 0.15s ease, background 0.15s ease;
}
.rf-nav-drop__link:hover {
    background: transparent;
    color: var(--rf-text);
}
.rf-nav-drop__link.is-active {
    background: transparent !important;
    color: #60a5fa !important;
    box-shadow: none !important;
}
.rf-nav-drop__ico {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}
html.rf-sidebar-collapsed .rf-nav-drop__menu,
html.rf-sidebar-collapsed .rf-nav-drop__panel,
html.rf-sidebar-collapsed .rf-nav-drop__chev {
    display: none !important;
}
html.rf-sidebar-collapsed .rf-nav-details > summary {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}
.rf-sidebar-foot {
    border-top: 1px solid var(--rf-line) !important;
    background: var(--rf-sidebar-bg);
}
.rf-foot-discord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    padding: 0.7rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-text-soft);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.rf-foot-discord:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: var(--rf-surface-2);
}
.rf-balance-card,
.rf-user-card {
    border-radius: 0.75rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    padding: 0.7rem 0.85rem;
}
.rf-balance-plus {
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}
.rf-hamburger {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.8rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}

/* ===== Icon rail (collapsed) ? ??ng nh? ?nh ===== */
html.rf-sidebar-collapsed .rf-nav-brand-text,
html.rf-sidebar-collapsed .rf-nav-section,
html.rf-sidebar-collapsed .rf-nav-label,
html.rf-sidebar-collapsed .rf-user-card__meta,
html.rf-sidebar-collapsed .rf-balance-card,
html.rf-sidebar-collapsed .rf-foot-discord {
    display: none !important;
}
html.rf-sidebar-collapsed .rf-sidebar,
html.rf-sidebar-collapsed .app-menu {
    overflow-x: hidden;
}
html.rf-sidebar-collapsed .rf-sidebar-brand {
    height: 3.75rem;
    justify-content: center;
    padding: 0.75rem 0.5rem !important;
}
html.rf-sidebar-collapsed .rf-nav-header-link {
    justify-content: center;
    flex: 0 0 auto;
}
html.rf-sidebar-collapsed .rf-nav-brand-initial {
    display: block !important;
}
html.rf-sidebar-collapsed .rf-brand-mark {
    display: none !important;
}
html.rf-sidebar-collapsed .rf-sidebar-nav {
    padding: 0.65rem 0.55rem;
}
html.rf-sidebar-collapsed #navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
html.rf-sidebar-collapsed #navbar-nav > li {
    width: 100%;
    display: flex;
    justify-content: center;
}
html.rf-sidebar-collapsed .rf-nav-link {
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    margin: 0 auto;
    border-radius: 0.7rem;
    color: #9ca3af;
}
html.rf-sidebar-collapsed .rf-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
html.rf-sidebar-collapsed .rf-nav-link.is-active {
    background: #3b82f6;
    color: #fff;
    box-shadow: none;
    padding: 0;
}
html.rf-sidebar-collapsed .rf-nav-link.is-active .rf-nav-ico {
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    background: transparent;
}
html.rf-sidebar-collapsed .rf-nav-ico {
    margin: 0;
    width: 1.15rem;
    height: 1.15rem;
}
html.rf-sidebar-collapsed .rf-sidebar-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.5rem 0.85rem !important;
}
html.rf-sidebar-collapsed .rf-user-card {
    width: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    justify-content: center;
}
html.rf-sidebar-collapsed .rf-user-card__profile { display: none !important; }
html.rf-sidebar-collapsed .rf-user-card__logout {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121212;
    color: #a3a3a3;
}
html.rf-sidebar-collapsed .rf-user-card__logout:hover {
    color: #fb7185;
    border-color: rgba(251, 113, 133, 0.35);
}
html.rf-sidebar-collapsed #client-nav-toggle-desktop {
    display: none !important;
}

/* Dark shell content backdrop ? c?ng n?n v?i sidebar */
.client-shell {
    background: var(--rf-bg);
    min-height: 100vh;
}
body {
    background: var(--rf-bg) !important;
    color: var(--rf-text-soft);
}

/* Legacy ticker / helpers */
.main-height-table {
    min-height: 12rem;
    max-height: min(70dvh, 70vh);
    height: min(52dvh, 52vh);
}
@media (min-width: 992px) {
    .main-height-table {
        max-height: none;
        height: calc(100vh - 450px);
        min-height: 16rem;
    }
}

@keyframes loop-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.order-latest {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    position: relative;
    padding: 0;
    white-space: nowrap;
}

.order-latest:before, .order-latest:after {
    position: absolute;
    top: 0;
    width: min(250px, 22vw);
    height: 100%;
    content: "";
    z-index: 2;
}
@media (max-width: 639px) {
    .order-latest:before, .order-latest:after {
        width: 2.5rem;
    }
}

.order-latest .order-latest-list {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    animation: 150s loop-slide infinite linear;
}

.order-latest .order-latest-list.to-right {
    animation-direction: reverse;
}

.order-latest .order-latest-list img {
    max-height: 100px;
    width: 50px;
    object-fit: cover;
}

.order-latest-list .order-latest-item {
    display: flex;
    align-items: start;
    min-width: min(300px, 82vw);
    min-height: 70px;
    padding: 10px 10px;
    border-radius: 5px;
}

.order-latest-list .order-latest-item .order-name {
    font-size: 14px;
    font-weight: 600;
}

.custom-crisp-icon {
    position: fixed;
    bottom: max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: #3b82f6;
    background-image: url(../images/support.webp);
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.65);
    cursor: pointer;
    z-index: 100;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.custom-crisp-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(59, 130, 246, 0.8);
}

/* Dark: th? ticker ??n h?ng (buy.php) ? n?n/border ??ng b? zink */
html.dark .order-latest-list .order-latest-item.card {
    background-color: #161616 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #e4e4e7 !important;
}
html.dark .order-latest-list .order-latest-item .order-name {
    color: #fafafa !important;
}

/* =============================
   Footer
   ============================= */
.rf-footer {
    position: relative;
    margin-top: 2.5rem;
    border-top: 1px solid var(--rf-line);
    background: var(--rf-surface);
    color: var(--rf-muted);
    overflow: hidden;
}
.rf-footer-mesh {
    display: none !important;
}
@media (min-width: 768px) {
    body:has(.app-menu) .rf-footer {
        margin-left: var(--rf-sidebar-width);
        width: calc(100% - var(--rf-sidebar-width));
        transition: margin-left 0.22s ease, width 0.22s ease;
    }
    html.rf-sidebar-collapsed body:has(.app-menu) .rf-footer {
        margin-left: var(--rf-sidebar-rail);
        width: calc(100% - var(--rf-sidebar-rail));
    }
}
.rf-footer-inner {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 80rem;
    padding: 2.5rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem max(1rem, env(safe-area-inset-left, 0px));
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.rf-footer-top {
    display: grid;
    gap: 2rem;
}
@media (min-width: 1024px) {
    .rf-footer-top {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.1fr);
        gap: 2.75rem;
        align-items: start;
    }
}
.rf-footer-brand-link {
    display: inline-flex;
    text-decoration: none;
}
.rf-footer-brand-name {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: var(--rf-text);
}
html:not(.dark) .rf-footer-brand-name {
    color: #0f172a;
}
.rf-footer-tagline {
    margin: 0.7rem 0 0;
    max-width: 18rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--rf-muted);
}
.rf-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}
.rf-footer-social-btn {
    display: inline-flex;
    height: 2.35rem;
    width: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-card);
    color: var(--rf-text-soft);
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.rf-footer-social-btn:hover {
    border-color: rgba(59, 130, 246, 0.45);
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}
.rf-footer-nav {
    display: grid;
    gap: 1.35rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
    .rf-footer-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.rf-footer-h {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #60a5fa;
}
html:not(.dark) .rf-footer-h { color: #2563eb; }
.rf-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.rf-footer-list a {
    position: relative;
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-text-soft);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}
.rf-footer-list a:hover {
    color: var(--rf-text);
    transform: translateX(2px);
}
.rf-footer-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--rf-line);
    background: var(--rf-surface);
}
html:not(.dark) .rf-footer-bar {
    background: var(--rf-surface);
}
.rf-footer-bar-inner {
    margin: 0 auto;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.95rem max(1rem, env(safe-area-inset-right, 0px)) 0.95rem max(1rem, env(safe-area-inset-left, 0px));
    font-size: 0.75rem;
    color: var(--rf-muted);
}
.rf-footer-bar-inner strong {
    color: var(--rf-text-soft);
    font-weight: 700;
}
.rf-footer-note {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rf-muted);
    opacity: 0.85;
}
@media (min-width: 640px) {
    .rf-footer-bar-inner {
        flex-direction: row;
    }
}
@keyframes rf-footer-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.rf-footer-brand,
.rf-footer-nav {
    animation: rf-footer-in 0.45s ease both;
}
.rf-footer-nav { animation-delay: 0.06s; }

/* legacy aliases (tr?nh v? n?u c?n class c?) */
.rf-footer-glow { display: none; }
.rf-footer-grid { display: contents; }
.rf-footer-cols { display: contents; }
.rf-footer-logo { display: inline-flex; }
.rf-footer-name { font-weight: 800; color: var(--rf-text); }
.rf-footer-desc { color: var(--rf-muted); }
.rf-footer-mail { color: #60a5fa; }

/* =============================
   Home Dashboard
   ============================= */
.rf-dash {
    --rf-card: var(--rf-surface);
    --rf-page: var(--rf-bg);
    color: var(--rf-text-soft);
    padding-top: 0.35rem;
}
.rf-dash > .flex:first-child {
    margin-bottom: 0.35rem;
    padding-top: 0.5rem;
}
.rf-dash h1,
.rf-dash .text-white,
.rf-dash-title {
    color: var(--rf-text) !important;
}
.rf-dash-action {
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    color: var(--rf-blue-soft);
    box-shadow: none;
}
.rf-dash-action:hover {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.1);
}
.rf-dash-panel,
.rf-dash-card,
.rf-dash-stat {
    border-radius: 1rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-card);
    box-shadow: var(--rf-card-shadow);
}
html.dark .rf-dash-panel,
html.dark .rf-dash-card,
html.dark .rf-dash-stat {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
        #121212;
}
.rf-dash-card {
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
html.dark .rf-dash-card {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%),
        #121212;
}
.rf-dash-card:hover {
    border-color: rgba(59, 130, 246, 0.32);
    transform: translateY(-1px);
}
.rf-dash-lists > .rf-dash-panel {
    display: flex;
    flex-direction: column;
    min-height: 22rem;
}
.rf-dash-lists .rf-dash-list-body {
    flex: 1;
    min-height: 0;
}
.rf-dash-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: stretch;
}
@media (min-width: 640px) {
    .rf-dash-filters {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 3.5rem;
    }
}
.rf-dash-filters .rf-dash-panel {
    min-height: 4.25rem;
}
.rf-dash-filters > button.rf-dash-panel {
    width: 100%;
    min-height: 4.25rem;
}
.rf-dash-icon {
    display: inline-flex;
    height: 2.35rem;
    width: 2.35rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--rf-blue);
}
.rf-dash-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 0.55rem;
    border: 1px solid rgba(59, 130, 246, 0.28);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--rf-blue-soft);
}
.rf-dash-pill-blue {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.12);
    color: var(--rf-blue-soft);
}
.rf-dash-select {
    color-scheme: light;
}
html.dark .rf-dash-select {
    color-scheme: dark;
}
.rf-dash-select option {
    background: var(--rf-surface);
    color: var(--rf-text);
}

body:has(.rf-dash),
.client-shell:has(.rf-dash),
body:has(.app-menu) {
    background: var(--rf-bg) !important;
    color: var(--rf-text-soft);
}

/* Light: breadcrumb + topbar text Tailwind overrides */
html:not(.dark) .rf-breadcrumb a { color: #64748b !important; }
html:not(.dark) .rf-breadcrumb a:hover { color: #2563eb !important; }
html:not(.dark) .rf-breadcrumb span.text-slate-200 { color: #0f172a !important; }
html:not(.dark) .rf-breadcrumb span.text-slate-600 { color: #94a3b8 !important; }
html:not(.dark) #page-topbar .text-slate-200,
html:not(.dark) #page-topbar .text-slate-300 { color: #334155 !important; }
html:not(.dark) #page-topbar .text-white { color: #0f172a !important; }
html:not(.dark) .rf-user-card__meta .text-white { color: #0f172a !important; }
html:not(.dark) .rf-hamburger { color: #0f172a; background: #fff; }

/* Light mode ? ch? t?n / th?ng b?o / label kh?ng b? nh?t */
html:not(.dark) .rf-dash .text-white,
html:not(.dark) .rf-dash .text-slate-200,
html:not(.dark) .rf-dash .text-slate-300,
html:not(.dark) .rf-dash h2,
html:not(.dark) .rf-dash h3 {
    color: #0f172a !important;
}
html:not(.dark) .rf-dash .text-slate-400,
html:not(.dark) .rf-dash .text-slate-500,
html:not(.dark) .rf-dash .text-\[\#8b8b8b\],
html:not(.dark) .rf-dash .text-\[\#6b6b6b\],
html:not(.dark) .rf-dash [class*="text-[#8b8b8b]"],
html:not(.dark) .rf-dash [class*="text-[#6b6b6b]"] {
    color: #64748b !important;
}
html:not(.dark) .rf-dash-alert-text,
html:not(.dark) .rf-dash-alert-text,
html:not(.dark) .rf-dash-alert-text * {
    color: #334155 !important;
}
html:not(.dark) .rf-dash-select {
    color: #0f172a !important;
}
html:not(.dark) .rf-lang-label { color: #334155; }
html:not(.dark) .rf-balance-card .text-slate-500,
html:not(.dark) .rf-user-card .text-slate-500 {
    color: #64748b !important;
}
html:not(.dark) .rf-dash .border-white\/10 {
    border-color: rgba(15, 23, 42, 0.12) !important;
}
html:not(.dark) .rf-dash .bg-white\/\[0\.06\] {
    background: rgba(15, 23, 42, 0.06) !important;
}

/* Language switcher */
.rf-lang > summary { list-style: none; }
.rf-lang > summary::-webkit-details-marker { display: none; }
.rf-lang-trigger { cursor: pointer; }
.rf-lang-menu {
    border-radius: 0.85rem;
    border: 1px solid var(--rf-line);
    background: var(--rf-surface);
    box-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.35);
}
html.dark .rf-lang-menu {
    box-shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.75);
}
.rf-lang-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-text-soft);
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.rf-lang-item:hover,
.rf-lang-item.is-active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--rf-blue);
}

/* Thanh th?ng b?o: kh?ng ph?nh chi?u cao */
.rf-dash-alert {
    min-height: 0;
    max-height: 3rem;
    overflow: hidden;
}
.rf-dash-alert marquee,
.rf-dash-alert .rf-dash-alert-text {
    display: block;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rf-dash-alert img,
.rf-dash-alert p,
.rf-dash-alert div {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 1.25rem !important;
    vertical-align: middle;
}
/* =============================
   Auth ? login / register split
   ============================= */
body:has(.rf-auth-page) {
    background: #050505 !important;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
body:has(.rf-auth-page) .rf-footer,
body:has(.rf-auth-page) #customCrispIcon,
body:has(.rf-auth-page) #page-topbar,
body:has(.rf-auth-page) .app-menu,
body:has(.rf-auth-page) #client-nav-hamburger {
    display: none !important;
}
.rf-auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    background: #050505;
    color: #e5e5e5;
}
@media (min-width: 1024px) {
    .rf-auth-page {
        grid-template-columns: 1fr 1fr;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }
}
.rf-auth-promo {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    overflow: hidden;
    min-height: 0;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 130, 246, 0.28), transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(37, 99, 235, 0.12), transparent 50%),
        linear-gradient(165deg, #0a0a12 0%, #050508 55%, #000 100%);
}
@media (min-width: 1024px) {
    .rf-auth-promo { display: flex; }
}
.rf-auth-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
    pointer-events: none;
}
.rf-auth-promo-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    min-height: min(34rem, 72vh);
}
.rf-auth-promo-top { width: 100%; }
.rf-auth-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.rf-auth-brand-name {
    font-family: Sora, Outfit, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.15;
    color: #fff;
}
.rf-auth-promo-title {
    margin: 1.75rem 0 0;
    max-width: none;
    font-family: Sora, Outfit, system-ui, sans-serif;
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #fff;
}
.rf-auth-promo-title em {
    font-style: normal;
    color: #60a5fa;
}
.rf-auth-promo-desc {
    margin: 0.9rem 0 0;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #94a3b8;
}
.rf-auth-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.75rem;
    width: 100%;
    max-width: none;
}
.rf-auth-feat {
    border-radius: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(15, 15, 20, 0.65);
    padding: 0.9rem 1rem;
}
.rf-auth-feat strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #f8fafc;
}
.rf-auth-feat > span:last-child {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #94a3b8;
}
.rf-auth-feat-ico {
    display: inline-flex;
    height: 1.85rem;
    width: 1.85rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}
.rf-auth-feat-ico svg,
.rf-auth-trust svg,
.rf-auth-pass-toggle svg {
    width: 1rem;
    height: 1rem;
    display: block;
    flex-shrink: 0;
}
.rf-auth-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    margin-top: 1.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #93c5fd;
}
.rf-auth-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.rf-auth-quote {
    margin: 0;
    width: 100%;
    max-width: none;
    border-radius: 0.9rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.35);
    padding: 1rem 1.1rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #cbd5e1;
}
.rf-auth-quote cite {
    display: block;
    margin-top: 0.65rem;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
}
.rf-auth-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    background:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
        #050505;
    background-size: 40px 40px, 40px 40px, auto;
}
@media (min-width: 1024px) {
    .rf-auth-panel {
        min-height: 0;
        height: 100%;
        padding: 2.5rem 2rem;
    }
}
.rf-auth-card {
    width: 100%;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
    /* h?i n?ng t?m nh?n (kh?ng l?ch ??y) */
    transform: translateY(-2vh);
}
.rf-auth-card h1 {
    margin: 0;
    font-family: Sora, Outfit, system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}
.rf-auth-card .rf-auth-switch {
    margin: 0.55rem 0 1.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
}
.rf-auth-card .rf-auth-switch a {
    color: #60a5fa;
    font-weight: 700;
    text-decoration: none;
}
.rf-auth-card .rf-auth-switch a:hover { color: #93c5fd; }
.rf-auth-field { margin-bottom: 1rem; }
.rf-auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
}
.rf-auth-field input {
    width: 100%;
    height: 2.85rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: #121214;
    padding: 0 0.95rem;
    font-size: 0.9375rem;
    color: #f8fafc;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rf-auth-field input::placeholder { color: #64748b; }
.rf-auth-field input:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}
.rf-auth-pass { position: relative; }
.rf-auth-pass input { padding-right: 2.75rem; }
.rf-auth-pass-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    height: 2.1rem;
    width: 2.1rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}
.rf-auth-pass-toggle:hover { color: #e2e8f0; background: rgba(255,255,255,0.04); }
.rf-auth-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0 1.1rem;
    font-size: 0.8125rem;
    color: #94a3b8;
}
.rf-auth-check input {
    width: 1rem;
    height: 1rem;
    accent-color: #3b82f6;
}
.rf-auth-submit {
    display: flex;
    width: 100%;
    height: 2.95rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.75rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px -12px rgba(37, 99, 235, 0.85);
    transition: background 0.15s ease, transform 0.15s ease;
}
.rf-auth-submit:hover { background: #1d4ed8; }
.rf-auth-submit:active { transform: scale(0.99); }
.rf-auth-submit:disabled { opacity: 0.7; cursor: wait; }
.rf-auth-captcha {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 1rem;
}
.rf-auth-home {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
}
.rf-auth-home:hover { color: #60a5fa; }
.rf-auth-terms {
    margin-top: 1.25rem;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}
.rf-auth-terms a { color: #93c5fd; text-decoration: none; }
.rf-auth-terms a:hover { text-decoration: underline; }
@media (max-width: 1023px) {
    .rf-auth-panel {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 2rem 1.25rem;
    }
    .rf-auth-card {
        transform: none;
    }
}

/* =============================
   Profile page
   ============================= */
.rf-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .rf-profile-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
    .rf-profile-card--wide {
        grid-column: 1 / -1;
    }
}
.rf-profile-card {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}
.rf-profile-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.rf-profile-card__head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--rf-text);
}
.rf-profile-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 0.35rem 0 0.15rem;
}
.rf-profile-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(145deg, #3b82f6, #2563eb 55%, #1d4ed8);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}
.rf-profile-dl {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 0.55rem;
    text-align: left;
}
.rf-profile-dl > div {
    display: grid;
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
    font-size: 0.8125rem;
}
.rf-profile-dl dt {
    margin: 0;
    color: var(--rf-muted);
    font-weight: 600;
}
.rf-profile-dl dd {
    margin: 0;
    color: var(--rf-text);
    font-weight: 700;
}
.rf-profile-balance {
    color: #60a5fa !important;
}
.rf-profile-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex: 1;
}
.rf-profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-profile-field input,
.rf-profile-field select {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-input-bg, rgba(255, 255, 255, 0.03));
    color: var(--rf-text);
    padding: 0.65rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html:not(.dark) .rf-profile-field input,
html:not(.dark) .rf-profile-field select {
    background: #fff;
}
.rf-profile-field input:focus,
.rf-profile-field select:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.rf-profile-actions {
    margin-top: auto;
    padding-top: 0.35rem;
}
.rf-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.7rem;
    border: 1px solid transparent;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.rf-profile-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}
.rf-profile-btn--primary {
    background: #3b82f6;
    color: #fff;
}
.rf-profile-btn--primary:hover {
    background: #2563eb;
}
.rf-profile-btn--soft {
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
    color: #60a5fa;
}
.rf-profile-btn--soft:hover {
    background: rgba(59, 130, 246, 0.22);
}
.rf-profile-btn--ghost {
    background: transparent;
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}
.rf-profile-btn--danger {
    background: #ef4444;
    color: #fff;
}
.rf-profile-btn--danger:hover {
    background: #dc2626;
}
.rf-profile-token-alert {
    border-radius: 0.85rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(127, 29, 29, 0.35);
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.rf-profile-token-alert p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fecaca;
}
.rf-profile-token-alert code {
    display: block;
    word-break: break-all;
    font-size: 0.78rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.55rem;
    padding: 0.55rem 0.7rem;
}
.rf-profile-token-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}
@media (min-width: 640px) {
    .rf-profile-token-actions {
        grid-template-columns: 1fr 1fr;
    }
}
.rf-profile-token-actions .rf-profile-btn {
    width: 100%;
}
.rf-profile-logout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}
.rf-profile-logout p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--rf-muted);
    font-weight: 600;
}
.rf-profile-spin {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    animation: rf-profile-spin 0.7s linear infinite;
}
@keyframes rf-profile-spin {
    to { transform: rotate(360deg); }
}

/* =============================
   Feature closed notice
   ============================= */
.rf-closed {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(62vh, 32rem);
    padding: 1.5rem 0.75rem;
}
.rf-closed__card {
    width: 100%;
    max-width: 40rem;
    text-align: center;
    border-radius: 1.15rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-card);
    box-shadow: var(--rf-card-shadow);
    padding: 2.75rem 1.75rem;
}
html.dark .rf-closed__card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
        #121212;
}
.rf-closed__eye {
    margin: 0 0 0.85rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #60a5fa;
}
.rf-closed__title {
    margin: 0;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--rf-text);
}
.rf-closed__desc {
    margin: 0.85rem auto 0;
    max-width: 28rem;
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--rf-muted);
}

/* =============================
   Deposit page
   ============================= */
.rf-deposit {
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}
.rf-deposit-bal {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    border-radius: 0.85rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-card);
    padding: 0.65rem 0.9rem;
}
.rf-deposit-bal span {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rf-muted);
}
.rf-deposit-bal strong {
    font-size: 1.05rem;
    font-weight: 900;
    color: #60a5fa;
}
.rf-deposit-layout {
    display: grid;
    gap: 1rem;
    width: 100%;
    min-width: 0;
}
.rf-deposit-layout > * {
    min-width: 0;
    max-width: 100%;
}
@media (min-width: 1100px) {
    .rf-deposit-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: start;
    }
}
.rf-deposit-card {
    padding: 1.15rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.rf-deposit-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}
.rf-deposit-card__head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-deposit-card__head p {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    color: var(--rf-muted);
}
.rf-deposit-guide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.rf-deposit-guide-btn:hover {
    background: rgba(59, 130, 246, 0.18);
}
.rf-deposit-banks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.rf-deposit-bank {
    border-radius: 999px;
    border: 1px solid var(--rf-card-border);
    background: transparent;
    color: var(--rf-text-soft);
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.rf-deposit-bank:hover {
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--rf-text);
}
.rf-deposit-bank.is-active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}
.rf-deposit-pane { display: none; }
.rf-deposit-pane.is-active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
}
.rf-deposit-fields {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}
@media (min-width: 720px) {
    .rf-deposit-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .rf-deposit-field--wide {
        grid-column: 1 / -1;
    }
}
.rf-deposit-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    max-width: 100%;
}
.rf-deposit-field label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--rf-muted);
}
.rf-deposit-input-row {
    display: flex;
    gap: 0.4rem;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}
.rf-deposit-input-row input {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    border-radius: 0.65rem;
    border: 1px solid var(--rf-card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--rf-text);
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html:not(.dark) .rf-deposit-input-row input {
    background: #fff;
}
.rf-deposit-input-row input:focus {
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.rf-deposit-copy {
    flex: 0 0 auto;
    border-radius: 0.65rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    padding: 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    max-width: 6.5rem;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.rf-deposit-copy:hover {
    background: rgba(59, 130, 246, 0.2);
}
.rf-deposit-copy.is-copied {
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}
.rf-deposit-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.rf-deposit-preset {
    border-radius: 0.55rem;
    border: 1px solid var(--rf-card-border);
    background: transparent;
    color: var(--rf-text-soft);
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}
.rf-deposit-preset.is-on,
.rf-deposit-preset:hover {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}
.rf-deposit-qr-wrap {
    display: grid;
    gap: 1rem;
}
@media (min-width: 480px) {
    .rf-deposit-qr-wrap {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
    }
}
.rf-deposit-qr {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 17.5rem);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 1rem;
    border: 1px solid var(--rf-card-border);
    background: #fff;
    padding: 0.65rem;
}
.rf-deposit-qr.is-loading {
    background: var(--rf-card);
}
.rf-deposit-qr-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}
.rf-deposit-spinner {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-top-color: #3b82f6;
    animation: rf-profile-spin 0.7s linear infinite;
}
.rf-deposit-warn {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #fca5a5;
}
.rf-deposit-warn strong { color: #fecaca; }
.rf-deposit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 1rem;
    border-radius: 0.7rem;
    border: none;
    background: #3b82f6;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}
.rf-deposit-btn:hover { background: #2563eb; }
.rf-deposit-btn:disabled { opacity: 0.65; cursor: wait; }
.rf-deposit-empty {
    margin: 0;
    padding: 2rem 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--rf-muted);
}
.rf-deposit-history {
    min-width: 0;
    max-width: 100%;
}
.rf-deposit-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    border-radius: 0.75rem;
    border: 1px solid var(--rf-card-border);
}
.rf-deposit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}
.rf-deposit-table th,
.rf-deposit-table td {
    padding: 0.7rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--rf-card-border);
    white-space: nowrap;
}
.rf-deposit-table th {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rf-muted);
    background: rgba(255, 255, 255, 0.02);
}
.rf-deposit-table td { color: var(--rf-text-soft); }
.rf-deposit-table tr:last-child td { border-bottom: none; }
.rf-deposit-amount {
    font-weight: 800 !important;
    color: #60a5fa !important;
}
.rf-deposit-td-clip {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rf-deposit-modal[hidden] { display: none !important; }
.rf-deposit-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.rf-deposit-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 14, 0.72);
    backdrop-filter: blur(4px);
}
.rf-deposit-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 32rem);
    border-radius: 1rem;
    border: 1px solid var(--rf-card-border);
    background: var(--rf-card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.rf-deposit-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--rf-card-border);
}
.rf-deposit-modal__head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-deposit-modal__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--rf-muted);
    cursor: pointer;
}
.rf-deposit-modal__x:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); }
.rf-deposit-modal__body {
    padding: 1.1rem 1.15rem 1.35rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--rf-text-soft);
}
.rf-deposit-modal__body ul,
.rf-deposit-modal__body ol {
    margin: 0.75rem 0 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.45rem;
}
.rf-deposit-modal__body p + p,
.rf-deposit-modal__body p + ol,
.rf-deposit-modal__body p + ul,
.rf-deposit-modal__body ol + p,
.rf-deposit-modal__body ul + p {
    margin-top: 0.85rem;
}
[x-cloak] { display: none !important; }

/* =============================
   Transactions (bien dong so du)
   ============================= */
.rf-tx-card {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.rf-tx-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-tx-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: min(100%, 16rem);
    border-radius: 0.7rem;
    border: 1px solid var(--rf-card-border);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.55rem 0.8rem;
    color: var(--rf-muted);
}
html:not(.dark) .rf-tx-search { background: #fff; }
.rf-tx-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--rf-text);
    font-size: 0.875rem;
    font-weight: 500;
}
.rf-tx-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.rf-tx-page {
    min-width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--rf-card-border);
    background: transparent;
    color: var(--rf-text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
.rf-tx-page.is-on,
.rf-tx-page:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}
.rf-tx-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.rf-tx-select {
    border-radius: 0.65rem;
    border: 1px solid var(--rf-card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--rf-text);
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    outline: none;
    min-height: 2.35rem;
}
html:not(.dark) .rf-tx-select { background: #fff; }
.rf-tx-select:focus {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.rf-tx-reset {
    border-radius: 0.65rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
    color: #93c5fd;
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 2.35rem;
}
.rf-tx-reset:hover { background: rgba(59, 130, 246, 0.18); }
.rf-tx-table-wrap {
    overflow-x: auto;
    border-radius: 0.85rem;
    border: 1px solid var(--rf-card-border);
}
.rf-tx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}
.rf-tx-table th,
.rf-tx-table td {
    padding: 0.8rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--rf-card-border);
    vertical-align: middle;
}
.rf-tx-table th {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rf-muted);
    background: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
}
.rf-tx-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}
.rf-tx-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.06);
}
.rf-tx-table tr:last-child td { border-bottom: none; }
.rf-tx-id {
    font-weight: 700;
    color: var(--rf-text-soft);
    white-space: nowrap;
}
.rf-tx-bal {
    font-weight: 700;
    color: #60a5fa;
    white-space: nowrap;
}
.rf-tx-amt {
    display: inline-flex;
    align-items: center;
    border-radius: 0.45rem;
    padding: 0.2rem 0.5rem;
    font-weight: 800;
    white-space: nowrap;
}
.rf-tx-amt--in {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}
.rf-tx-amt--out {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}
.rf-tx-content {
    color: var(--rf-text-soft);
    max-width: 22rem;
    white-space: normal;
    line-height: 1.4;
}
.rf-tx-time {
    color: var(--rf-muted);
    white-space: nowrap;
    font-size: 0.75rem;
}
.rf-tx-empty-row td {
    text-align: center;
    padding: 2rem 1rem !important;
    color: var(--rf-muted);
}
.rf-tx-meta {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-muted);
}

/* =============================
   History order (Robux 120H)
   ============================= */
.rf-ho-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 900px) {
    .rf-ho-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.rf-ho-stat {
    border-radius: 1rem;
    border: 1px solid var(--rf-card-border, rgba(255, 255, 255, 0.08));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
        #121212;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
html:not(.dark) .rf-ho-stat {
    background: #fff;
}
.rf-ho-stat__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-ho-stat__value {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rf-text);
}
.rf-ho-card {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.rf-ho-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-ho-perpage {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-ho-perpage .rf-tx-select {
    min-width: 4.25rem;
    padding: 0.4rem 0.55rem;
}
.rf-ho-table-wrap {
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
html:not(.dark) .rf-ho-table-wrap {
    border-color: rgba(15, 23, 42, 0.08);
}
.rf-ho-table {
    width: 100%;
    min-width: 64rem;
    border-collapse: collapse;
}
.rf-ho-table th,
.rf-ho-table td {
    padding: 0.8rem 0.85rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
}
html:not(.dark) .rf-ho-table th,
html:not(.dark) .rf-ho-table td {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}
.rf-ho-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rf-muted);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}
.rf-ho-table tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}
.rf-ho-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}
.rf-ho-table tr:last-child td {
    border-bottom: none;
}
.rf-ho-id {
    font-weight: 800;
    color: var(--rf-text);
}
.rf-ho-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--rf-text-soft, var(--rf-muted));
}
.rf-ho-rbx,
.rf-ho-pay {
    font-weight: 700;
    color: var(--rf-text);
    white-space: nowrap;
}
.rf-ho-time {
    white-space: nowrap;
    color: var(--rf-muted);
    font-size: 0.75rem;
}
.rf-ho-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}
.rf-ho-badge--done {
    background: #16a34a;
    color: #fff;
}
.rf-ho-badge--wait {
    background: #d97706;
    color: #fff;
}
.rf-ho-badge--pending {
    background: #475569;
    color: #fff;
}
.rf-ho-empty-row td {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--rf-muted);
}
.rf-ho-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-ho-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-muted);
    margin: 0;
}


/* =============================
   Acc s?n Robux
   ============================= */
.rf-acc-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}
.rf-acc-stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.rf-acc-stat__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-acc-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rf-text);
}
.rf-acc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-acc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.rf-acc-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-acc-filter .rf-tx-select {
    min-width: 6rem;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    padding: 0.35rem 0.4rem;
}
.rf-acc-search {
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    max-width: 16rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.rf-acc-table-wrap {
    overflow-x: auto;
}
.rf-acc-table {
    width: 100%;
    min-width: 48rem;
    border-collapse: collapse;
}
.rf-acc-table th,
.rf-acc-table td {
    padding: 0.8rem 0.65rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
}
.rf-acc-table th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rf-muted);
    background: transparent;
    white-space: nowrap;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.rf-acc-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.04);
}
.rf-acc-id { font-weight: 800; color: var(--rf-text); }
.rf-acc-rbx,
.rf-acc-pay {
    font-weight: 700;
    color: var(--rf-text);
    white-space: nowrap;
}
.rf-acc-time {
    color: var(--rf-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}
.rf-acc-empty {
    text-align: center;
    padding: 2rem 1rem !important;
    color: var(--rf-muted);
}
.rf-acc-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.45rem;
    background: #3b82f6;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}
.rf-acc-buy:hover { background: #2563eb; }
.rf-acc-buy:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.rf-acc-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.rf-ho-acc {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--rf-text);
}
.rf-ho-copy {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--rf-muted);
    cursor: pointer;
    padding: 0.1rem;
}
.rf-ho-copy:hover { color: #60a5fa; }

/* =============================
   Buy Robux 120H (Auto API)
   ============================= */
.rf-buy-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 720px) {
    .rf-buy-stats { grid-template-columns: 1fr 1fr; }
}
.rf-buy-stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
}
.rf-buy-stat__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    flex-shrink: 0;
}
.rf-buy-stat__ico--orange {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}
.rf-buy-stat__label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-buy-stat__value {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-buy-mode { display: flex; }
.rf-buy-mode__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 0.65rem;
    background: #3b82f6;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    cursor: default;
}
.rf-buy-panel,
.rf-buy-calc,
.rf-buy-util {
    padding: 1.15rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.rf-buy-panel__head,
.rf-buy-calc__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-buy-panel__head h2,
.rf-buy-calc__head h2 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-buy-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    color: #60a5fa;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}
.rf-buy-user {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.rf-buy-user__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-buy-user__card {
    border-radius: 0.75rem;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(15, 23, 42, 0.35);
    padding: 0.85rem 1rem;
}
.rf-buy-user__row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.rf-buy-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
}
.rf-buy-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}
.rf-buy-user__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}
.rf-buy-user__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: var(--rf-text);
    font-weight: 600;
}
.rf-buy-user__text strong {
    font-weight: 800;
}
.rf-buy-user__handle {
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-buy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 0;
    background: transparent;
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}
.rf-buy-user__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.rf-buy-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 12rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rf-muted);
}
.rf-buy-field--search {
    width: 100%;
    min-width: 0;
}
.rf-buy-field input {
    border-radius: 0.55rem;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background: rgba(0, 0, 0, 0.25);
    color: var(--rf-text);
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
}
.rf-buy-search {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
}
.rf-buy-search input {
    flex: 1;
    min-width: 0;
    height: 2.65rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(96, 165, 250, 0.55);
    background: rgba(0, 0, 0, 0.28);
    color: var(--rf-text);
    padding: 0 0.9rem;
    font-size: 0.9rem;
    outline: none;
}
.rf-buy-search input:focus {
    border-color: rgba(96, 165, 250, 0.85);
}
.rf-buy-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    margin-top: 0.15rem;
    border: 0;
    border-radius: 0.5rem;
    background: #3b82f6;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}
.rf-buy-search__btn:hover {
    background: #2563eb;
}
.rf-buy-search__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.rf-buy-search__btn svg {
    display: block;
}
.rf-buy-section-title {
    margin: 0 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--rf-text);
}
.rf-buy-panel__head--pkgs {
    margin-bottom: 0.35rem;
}
.rf-buy-panel__head--pkgs .rf-buy-section-title {
    margin: 0;
}
.rf-buy-pkgs-hint {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    color: var(--rf-muted);
}
.rf-buy-pkgs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .rf-buy-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .rf-buy-pkgs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.rf-buy-pkg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 0.75rem;
    background: #1a1a1a;
    padding: 0.65rem 0.55rem 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.rf-buy-pkg:hover {
    background: #222;
}
.rf-buy-pkg.is-on {
    background: #1e293b;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.55);
}
.rf-buy-pkg__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 7.5rem;
    border-radius: 0.55rem;
    background: #111;
    overflow: hidden;
}
.rf-buy-pkg__img {
    width: 72%;
    height: 72%;
    max-width: 4.5rem;
    max-height: 4.5rem;
    border-radius: 0.4rem;
    object-fit: cover;
}
.rf-buy-pkg__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, #fbbf24, #d97706);
    color: #111;
    font-size: 0.75rem;
    font-weight: 900;
}
.rf-buy-pkg__amt {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.rf-buy-pkg__price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ef4444;
    text-align: center;
}
.rf-buy-rate {
    margin: 0.85rem 0 0;
    font-size: 0.8125rem;
    color: var(--rf-muted);
}
.rf-buy-rate strong {
    color: #38bdf8;
    font-weight: 800;
}
.rf-buy-checkout {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rf-buy-checkout__rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.7rem 0.9rem;
    font-size: 0.8125rem;
    color: var(--rf-muted);
}
.rf-buy-checkout__rate strong {
    color: #38bdf8;
    font-weight: 800;
}
.rf-buy-checkout__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-buy-checkout__label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--rf-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.rf-buy-checkout__value {
    margin: 0.2rem 0 0;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-buy-checkout__right {
    text-align: right;
}
.rf-buy-checkout__pay {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--rf-text);
}
.rf-buy-checkout__tax {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
}
.rf-buy-util {
    gap: 1rem;
}
.rf-buy-util__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.rf-buy-util__head h2 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rf-muted);
}
.rf-buy-util__rate {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #60a5fa;
}
.rf-buy-util__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.65rem;
    align-items: center;
}
@media (max-width: 640px) {
    .rf-buy-util__row {
        grid-template-columns: 1fr;
    }
    .rf-buy-util__swap {
        justify-self: center;
    }
}
.rf-buy-util__field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    padding: 0.7rem 0.85rem;
}
.rf-buy-util__ico {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 900;
    color: #60a5fa;
}
.rf-buy-util__field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--rf-text);
    font-size: 0.95rem;
    font-weight: 700;
}
.rf-buy-util__swap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    cursor: pointer;
}
.rf-buy-util__swap:hover {
    background: rgba(59, 130, 246, 0.28);
}
.rf-buy-util__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.75rem;
    color: var(--rf-muted);
}
.rf-buy-util__foot p {
    margin: 0;
    max-width: 28rem;
}
.rf-buy-util__foot strong {
    font-size: 1.15rem;
    font-weight: 800;
    color: #4ade80;
}
.rf-buy-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.75rem;
    background: #3b82f6;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.85rem 1rem;
    cursor: pointer;
}
.rf-buy-submit:hover { background: #2563eb; }
.rf-buy-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.rf-buy-bal {
    margin: 0;
    font-size: 0.75rem;
    color: var(--rf-muted);
}
