/*
 * TRUMACC HOME EXTERNAL CSS V1
 * Extracted from views/home/index.phtml
 * Original order preserved.
 */

/* ===== ORIGINAL STYLE BLOCK 1 ===== */
.ta-account .thumbnail .carousel-inner {
    width: 100%;
    aspect-ratio: 17 / 10;
    overflow: hidden;
    background: #0d1420;
}

.ta-account .thumbnail .carousel-item {
    width: 100%;
    height: 100%;
}

.ta-account .thumbnail .carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ===== ORIGINAL STYLE BLOCK 2 ===== */
/* === TRUMACC HOME REDESIGN START === */

/*
    Tone:
    charcoal / navy / warm amber
    Không neon, không glow lòe loẹt.
*/

.ta-home-page {
    --hm-bg: #0b0f15;
    --hm-surface: #101722;
    --hm-surface-2: #131b27;
    --hm-surface-3: #182130;
    --hm-border: #222d3c;
    --hm-border-hover: #35445a;

    --hm-text: #f1f4f8;
    --hm-text-soft: #c4cbd6;
    --hm-muted: #818da0;

    --hm-accent: #f4a04b;
    --hm-accent-light: #ffc06e;
    --hm-accent-soft: rgba(244,160,75,.10);

    --hm-blue: #6d9cff;
    --hm-green: #52cb91;
    --hm-red: #ec6875;

    background: var(--hm-bg);
}

/* ---------------------------------
   CONTAINER / NHỊP TRANG
---------------------------------- */

.ta-home-page > .ta-container {
    padding-top: 18px !important;
}

.ta-home-page .ta-account-group {
    margin-top: 30px;
}

/* ---------------------------------
   GIAO DỊCH GẦN ĐÂY
---------------------------------- */

.ta-home-page .ta-recent-ticker {
    min-height: 38px;
    margin-bottom: 14px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--hm-border);
    border-radius: 9px;

    background: #0f151e;
    box-shadow: none;
}

.ta-home-page .ta-recent-ticker__label {
    align-self: stretch;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 0 13px;

    color: var(--hm-accent-light);
    background: #151a20;

    border-right: 1px solid var(--hm-border);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;

    white-space: nowrap;
}

.ta-home-page .ta-recent-ticker__label i {
    color: var(--hm-accent);
}

.ta-home-page .ta-recent-ticker__item {
    color: #9ca8b9;
    font-size: 12px;
}

.ta-home-page .ta-recent-ticker__item b {
    color: #d9e0ea;
    font-weight: 600;
}

.ta-home-page .ta-recent-ticker__item a {
    color: #9ab8f8;
}

.ta-home-page .ta-recent-ticker__item .text-teal {
    color: var(--hm-accent-light) !important;
}

/* ---------------------------------
   BANNER
---------------------------------- */

.ta-home-page .ta-home-banner {
    margin-bottom: 22px;
}

.ta-home-page .ta-promo-carousel {
    overflow: hidden;

    border: 1px solid #263243;
    border-radius: 14px;

    background: #090e14;

    box-shadow:
        0 16px 42px rgba(0,0,0,.22);
}

.ta-home-page .ta-promo-slide {
    overflow: hidden;
}

.ta-home-page .ta-promo-slide img {
    transition: transform .65s cubic-bezier(.2,.7,.3,1);
}

.ta-home-page .ta-promo-carousel:hover .ta-promo-slide.active img {
    transform: scale(1.012);
}

.ta-home-page .ta-promo-slide__copy span {
    color: var(--hm-accent-light);
    letter-spacing: .055em;
}

.ta-home-page .ta-promo-control {
    width: 42px;
    height: 42px;

    top: 50%;
    bottom: auto;

    margin: 0 13px;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;

    background: rgba(6,10,16,.70);
    backdrop-filter: blur(8px);

    opacity: 0;
    transition: opacity .2s ease, background .2s ease;
}

.ta-home-page .ta-promo-carousel:hover .ta-promo-control {
    opacity: .92;
}

.ta-home-page .ta-promo-control:hover {
    background: rgba(20,27,38,.94);
}

/* ---------------------------------
   SECTION TITLE
---------------------------------- */

.ta-home-page .demo-section-title {
    margin-bottom: 12px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,.055);
    padding-bottom: 10px;
}

.ta-home-page .demo-section-title > div > span {
    display: block;

    margin-bottom: 2px;

    color: var(--hm-accent);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ta-home-page .demo-section-title .page-title {
    margin: 0;

    color: var(--hm-text);

    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.015em;
}

.ta-home-page .demo-section-title__link {
    color: #8faef0;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition: color .18s ease;
}

.ta-home-page .demo-section-title__link i {
    margin-left: 3px;
    transition: transform .18s ease;
}

.ta-home-page .demo-section-title__link:hover {
    color: #b8cdff;
}

.ta-home-page .demo-section-title__link:hover i {
    transform: translateX(3px);
}

/* ---------------------------------
   DANH MỤC GAME
---------------------------------- */

.ta-home-page .list-categories {
    height: calc(100% - 16px);

    padding: 11px !important;
    margin-bottom: 16px !important;

    border: 1px solid var(--hm-border) !important;
    border-radius: 12px !important;

    background: var(--hm-surface);

    box-shadow: none !important;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.ta-home-page .list-categories:hover {
    transform: translateY(-2px);

    border-color: var(--hm-border-hover) !important;

    background: var(--hm-surface-2);
}

.ta-home-page .list-categories .img {
    flex: 0 0 auto;
    padding-bottom: 0 !important;
}

.ta-home-page .list-categories .img img {
    width: 46px !important;
    height: 46px !important;

    object-fit: cover;

    border: 1px solid #2c3747 !important;
    border-radius: 10px !important;

    box-shadow: none !important;
}

.ta-home-page .list-categories .info {
    min-width: 0;
}

.ta-home-page .list-categories .name {
    margin-bottom: 2px !important;

    color: var(--hm-text);

    font-size: 13px !important;
    font-weight: 650 !important;
}

.ta-home-page .list-categories .text-muted {
    color: var(--hm-muted) !important;
    font-size: 11px !important;
}

.ta-home-page .list-categories .text-muted b {
    color: #c9d2df;
    font-weight: 650;
}

/* bỏ style btn-light kiểu Bootstrap cũ */
.ta-home-page .list-categories .btn-light {
    min-height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 3px;

    border: 1px solid #29364a !important;
    border-radius: 8px !important;

    color: #bdc9db !important;
    background: #151e2c !important;

    font-size: 11px !important;
    font-weight: 600;

    box-shadow: none !important;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.ta-home-page .list-categories .btn-light:hover {
    color: #fff !important;

    background: #1a2638 !important;
    border-color: #40516b !important;
}

/* 4 category phủ đều chiều ngang desktop */
@media (min-width: 992px) {
    .ta-home-page #demo-categories > .row > [class*="col-"],
    .ta-home-page .ta-categories.mt-3 > .row > [class*="col-"] {
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
}

/* ---------------------------------
   RANDOM SECTION
---------------------------------- */

.ta-home-page .ta-categories.mt-3 {
    margin-top: 16px !important;
}

.ta-home-page .ta-categories.mt-3 >
.d-flex.align-items-center.justify-content-between.mb-2 {
    margin-bottom: 12px !important;
    padding-bottom: 9px;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.ta-home-page .ta-categories.mt-3 >
.d-flex.align-items-center.justify-content-between.mb-2 h4 {
    color: var(--hm-text);

    font-size: 18px !important;
    font-weight: 650 !important;
    letter-spacing: -.012em;
}

.ta-home-page .badge.bg-danger {
    padding: 4px 7px;

    border: 1px solid rgba(236,104,117,.25);
    border-radius: 6px;

    color: #ff98a2;
    background: rgba(236,104,117,.10) !important;

    font-weight: 700;
    letter-spacing: .02em;
}

.ta-home-page .ta-categories.mt-3 >
.d-flex.align-items-center.justify-content-between.mb-2 > a {
    color: #8faef0;

    font-size: 12px !important;
    text-decoration: none;
}

/* ---------------------------------
   TIÊU ĐỀ TỪNG GAME
---------------------------------- */

.ta-home-page .ta-account-group > .page-title {
    margin: 0 0 13px;
    padding-bottom: 10px;

    border-bottom: 1px solid rgba(255,255,255,.065);

    color: var(--hm-text);

    font-size: 20px;
    font-weight: 650;
    letter-spacing: -.018em;
}

.ta-home-page .ta-account-group > .page-title img {
    width: 28px;
    height: 28px;

    object-fit: cover;

    border: 1px solid #2b3647;
    border-radius: 7px !important;
}

.ta-home-page .ta-account-group > .page-title .ps-2 {
    padding-left: 9px !important;
}

/* ---------------------------------
   ACCOUNT CARD
---------------------------------- */

.ta-home-page .ta-account {
    height: calc(100% - 1.5rem);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--hm-border);
    border-radius: 12px;

    color: var(--hm-text-soft);
    background: var(--hm-surface);

    box-shadow:
        0 7px 20px rgba(0,0,0,.13) !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.ta-home-page .ta-account:hover {
    transform: translateY(-3px);

    border-color: var(--hm-border-hover);

    background: #111925;

    box-shadow:
        0 13px 28px rgba(0,0,0,.20) !important;
}

/* ID acc: thống nhất tone */
.ta-home-page .ta-account .ta-account-id {
    top: 8px;
    left: 8px;

    padding: 4px 7px;

    border: 1px solid rgba(142,176,255,.26);
    border-radius: 6px;

    color: #a9c2ff !important;
    background: rgba(16,28,46,.90) !important;

    font-size: 10px;
    font-weight: 700;

    backdrop-filter: blur(5px);

    box-shadow: none;
}

/* thumbnail */
.ta-home-page .ta-account .thumbnail {
    overflow: hidden;

    border-bottom: 1px solid #202a38;

    background: #080d13;
}

.ta-home-page .ta-account .thumbnail .carousel-inner {
    aspect-ratio: 16 / 9;
    background: #090e15;
}

/* override style contain đang nằm inline */
.ta-home-page .ta-account .thumbnail .carousel-item img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    transition: transform .35s ease;
}

.ta-home-page .ta-account:hover .thumbnail .carousel-item.active img {
    transform: scale(1.018);
}

/* mô tả nằm trên ảnh */
.ta-home-page .ta-account .thumbnail .description {
    left: 0;
    right: 0;
    bottom: 0;

    padding: 18px 9px 7px;

    border: 0;

    color: #e3e8ef;

    background:
        linear-gradient(
            to top,
            rgba(4,7,11,.90),
            rgba(4,7,11,.42),
            transparent
        );

    font-size: 10px;
    font-weight: 500;
}

/* carousel arrows */
.ta-home-page .ta-account .carousel-control-prev,
.ta-home-page .ta-account .carousel-control-next {
    width: 28px;

    color: #fff;

    opacity: 0;
    transition: opacity .18s ease;
}

.ta-home-page .ta-account:hover .carousel-control-prev,
.ta-home-page .ta-account:hover .carousel-control-next {
    opacity: .7;
}

.ta-home-page .ta-account .carousel-control-prev:hover,
.ta-home-page .ta-account .carousel-control-next:hover {
    opacity: 1;
}

/* phần info */
.ta-home-page .ta-account > .info {
    flex: 1;

    display: flex;
    flex-direction: column;

    background: transparent;
}

.ta-home-page .ta-account > .info > .p-2 {
    flex: 1;
    padding: 10px !important;
}

/* seller */
.ta-home-page .ta-account .seller {
    min-height: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 8px;
}

.ta-home-page .ta-account .seller > a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.ta-home-page .ta-account .seller .avatar {
    flex: 0 0 auto;
}

.ta-home-page .ta-account .seller .avatar img {
    width: 23px;
    height: 23px;

    object-fit: cover;

    border: 1px solid #344155;
}

.ta-home-page .ta-account .seller .name {
    min-width: 0;

    margin-left: 6px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    color: #cbd6e5 !important;

    font-size: 11px !important;
    font-weight: 600;
}

.ta-home-page .ta-account .seller .time {
    flex: 0 0 auto;

    color: #707d90 !important;

    font-size: 10px !important;
}

/* thông số */
.ta-home-page .ta-account .fields {
    padding-top: 7px;

    border-top: 1px solid rgba(255,255,255,.055);
}

.ta-home-page .ta-account .fields ul {
    list-style: none;
}

.ta-home-page .ta-account .fields li {
    min-height: 21px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 2px 0;

    border: 0;

    font-size: 11px;
    line-height: 1.35;
}

.ta-home-page .ta-account .fields .key {
    flex: 0 0 auto;

    color: #778397;
    font-weight: 450;
}

.ta-home-page .ta-account .fields .value {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #dfe5ee;

    font-weight: 600;
    text-align: right;
}

/* ---------------------------------
   GIÁ - bỏ thanh đỏ/cam cũ
---------------------------------- */

.ta-home-page .ta-account .view-account {
    position: relative;

    margin-top: auto;

    border-top: 1px solid #222d3d;

    background: #0d131c !important;

    transition:
        background .18s ease,
        border-color .18s ease;
}

.ta-home-page .ta-account .view-account a {
    min-height: 38px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 6px;

    padding: 8px 10px !important;

    color: var(--hm-accent-light) !important;

    font-size: 13px !important;
    text-decoration: none;
}

.ta-home-page .ta-account .view-account i {
    color: var(--hm-accent);
}

.ta-home-page .ta-account .view-account strong {
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -.01em;
}

.ta-home-page .ta-account:hover .view-account {
    border-top-color: rgba(244,160,75,.20);

    background: var(--hm-accent-soft) !important;
}

/* ---------------------------------
   RESPONSIVE
---------------------------------- */

@media (max-width: 991.98px) {

    .ta-home-page .ta-promo-control {
        opacity: .75;
    }

    .ta-home-page .ta-account-group {
        margin-top: 24px;
    }
}

@media (max-width: 767.98px) {

    .ta-home-page > .ta-container {
        padding-left: 11px;
        padding-right: 11px;
    }

    .ta-home-page .ta-recent-ticker {
        border-radius: 8px;
    }

    .ta-home-page .ta-recent-ticker__label {
        padding: 0 9px;
        font-size: 9px;
    }

    .ta-home-page .ta-promo-carousel {
        border-radius: 11px;
    }

    .ta-home-page .demo-section-title .page-title,
    .ta-home-page .ta-account-group > .page-title {
        font-size: 18px;
    }

    .ta-home-page .list-categories {
        padding: 9px !important;
    }
}

@media (max-width: 575.98px) {

    .ta-home-page .ta-home-banner {
        margin-bottom: 18px;
    }

    .ta-home-page .ta-account {
        border-radius: 10px;
    }

    .ta-home-page .ta-account:hover {
        transform: none;
    }

    .ta-home-page .list-categories:hover {
        transform: none;
    }

    .ta-home-page .list-categories .img img {
        width: 42px !important;
        height: 42px !important;
    }
}

/* người dùng tắt motion */
@media (prefers-reduced-motion: reduce) {

    .ta-home-page *,
    .ta-home-page *::before,
    .ta-home-page *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* === TRUMACC HOME REDESIGN END === */

/* ===== ORIGINAL STYLE BLOCK 3 ===== */
/* === TRUMACC HOME MOBILE FIX START === */

/* ==================================================
   MOBILE
================================================== */
@media (max-width: 767.98px) {

    /* ----------------------------------------------
       1. FIX HEADER DANH MỤC BỊ LỆCH
    ---------------------------------------------- */

    .ta-home-page #demo-categories {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ta-home-page #demo-categories .demo-section-title {
        width: 100% !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: end !important;

        column-gap: 12px !important;

        margin: 0 0 12px !important;
        padding: 0 0 11px !important;

        text-align: left !important;

        border-bottom:
            1px solid rgba(255,255,255,.06);
    }

    .ta-home-page #demo-categories
    .demo-section-title > div {
        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        text-align: left !important;

        justify-self: start !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title > div > span {
        margin: 0 0 3px !important;

        color: var(--hm-accent) !important;

        font-size: 10px !important;
        line-height: 1.2 !important;

        text-align: left !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title .page-title {
        margin: 0 !important;
        padding: 0 !important;

        color: var(--hm-text) !important;

        font-size: 20px !important;
        line-height: 1.25 !important;
        font-weight: 650 !important;

        text-align: left !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title__link {
        margin: 0 0 2px !important;
        padding: 0 !important;

        align-self: end !important;
        justify-self: end !important;

        white-space: nowrap !important;

        color: #82a8f5 !important;

        font-size: 12px !important;
        line-height: 1.3 !important;
    }


    /* ----------------------------------------------
       2. GRID DANH MỤC CÂN ĐỀU
    ---------------------------------------------- */

    .ta-home-page #demo-categories > .row,
    .ta-home-page .ta-categories.mt-3 > .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .ta-home-page #demo-categories > .row > [class*="col-"],
    .ta-home-page .ta-categories.mt-3 > .row > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .ta-home-page .list-categories {
        width: 100% !important;
        height: calc(100% - 12px) !important;

        margin-bottom: 12px !important;
        padding: 10px !important;

        border-radius: 11px !important;
    }


    /* ----------------------------------------------
       3. ICON + TÊN GAME CĂN NGANG
       Không dùng flex-column trên mobile nữa
    ---------------------------------------------- */

    .ta-home-page .list-categories >
    .d-flex.align-items-center {
        min-height: 52px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        padding-bottom: 8px !important;

        text-align: left !important;
    }

    .ta-home-page .list-categories .img {
        flex: 0 0 44px !important;

        width: 44px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .ta-home-page .list-categories .img img {
        display: block !important;

        width: 44px !important;
        height: 44px !important;

        margin: 0 !important;

        object-fit: cover !important;

        border-radius: 9px !important;
    }

    .ta-home-page .list-categories .info {
        flex: 1 1 auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 0 0 10px !important;

        text-align: left !important;
    }

    .ta-home-page .list-categories .name {
        overflow: hidden;

        margin: 0 0 2px !important;

        color: #eef2f7 !important;

        font-size: 13px !important;
        line-height: 1.25 !important;
        font-weight: 650 !important;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .ta-home-page .list-categories .text-muted {
        display: block;

        color: #7e899a !important;

        font-size: 11px !important;
        line-height: 1.3 !important;

        white-space: nowrap;
    }

    .ta-home-page .list-categories .btn-light {
        width: 100% !important;
        min-height: 34px !important;

        margin-top: 2px !important;
        padding: 6px 5px !important;

        border-radius: 8px !important;

        font-size: 11px !important;
        line-height: 1.2 !important;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* ----------------------------------------------
       4. FIX ĐỒNG XU GIÁ TRÊN IPHONE / SAFARI

       Không phụ thuộc icon Font Awesome.
       Vẽ coin bằng CSS để máy nào cũng giống nhau.
    ---------------------------------------------- */

    .ta-home-page .ta-account
    .view-account a > i.fa-usd-circle,

    .ta-home-page .ta-account
    .view-account a > i.fal.fa-usd-circle {
        display: none !important;
    }

    .ta-home-page .ta-account
    .view-account a::before {
        content: "₫";

        flex: 0 0 16px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 16px;
        height: 16px;

        margin-right: 1px;

        border: 1.5px solid #f3a047;
        border-radius: 50%;

        color: #f3a047;
        background: rgba(243,160,71,.07);

        font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;

        font-size: 8px;
        line-height: 1;
        font-weight: 800;

        box-shadow:
            inset 0 0 0 2px rgba(243,160,71,.07);
    }

    .ta-home-page .ta-account
    .view-account a {
        gap: 6px !important;
    }


    /* ----------------------------------------------
       5. GIÁ MOBILE GỌN HƠN
    ---------------------------------------------- */

    .ta-home-page .ta-account
    .view-account {
        border-top-color:
            rgba(244,160,75,.30) !important;
    }

    .ta-home-page .ta-account
    .view-account a strong {
        color: #f0f2f5 !important;

        font-size: 13px !important;
        font-weight: 700 !important;
    }


    /* ----------------------------------------------
       6. RANDOM TITLE CŨNG CĂN CHUẨN
    ---------------------------------------------- */

    .ta-home-page .ta-categories.mt-3 >
    .d-flex.align-items-center.justify-content-between.mb-2 {
        width: 100% !important;

        margin: 4px 0 12px !important;
        padding: 0 0 10px !important;
    }

    .ta-home-page .ta-categories.mt-3 >
    .d-flex.align-items-center.justify-content-between.mb-2 h4 {
        margin: 0 !important;

        font-size: 17px !important;
        line-height: 1.3 !important;

        text-align: left !important;
    }

}


/* ==================================================
   IPHONE NHỎ
================================================== */
@media (max-width: 390px) {

    .ta-home-page #demo-categories
    .demo-section-title .page-title {
        font-size: 18px !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title__link {
        font-size: 11px !important;
    }

    .ta-home-page .list-categories {
        padding: 9px !important;
    }

    .ta-home-page .list-categories .img {
        flex-basis: 40px !important;
        width: 40px !important;
    }

    .ta-home-page .list-categories .img img {
        width: 40px !important;
        height: 40px !important;
    }

    .ta-home-page .list-categories .info {
        padding-left: 8px !important;
    }

}


/* === TRUMACC HOME MOBILE FIX END === */

/* ===== ORIGINAL STYLE BLOCK 4 ===== */
/* === TRUMACC CATEGORY POLISH START === */


/* ==================================================
   NHÓM TÀI KHOẢN ĐẦY ĐỦ THÔNG TIN
================================================== */

.ta-home-page .hm-category-subhead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin: 14px 0 12px;
}

.ta-home-page .hm-category-subhead > div {
    min-width: 0;
}

.ta-home-page .hm-category-subhead__eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #8a95a6;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: .085em;
}

.ta-home-page .hm-category-subhead__title {
    margin: 0;

    color: #e8edf4;

    font-size: 15px;
    line-height: 1.3;
    font-weight: 650;

    letter-spacing: -.01em;
}

.ta-home-page .hm-category-subhead__desc {
    margin: 0 0 1px;

    color: #687587;

    font-size: 11px;
    line-height: 1.4;

    white-space: nowrap;
}


/* ==================================================
   CATEGORY CARD THƯỜNG
================================================== */

.ta-home-page #demo-categories .list-categories {
    border-color: #222d3a !important;

    background:
        linear-gradient(
            180deg,
            #111923,
            #101720
        ) !important;
}

.ta-home-page #demo-categories .list-categories:hover {
    border-color: #344255 !important;

    background:
        linear-gradient(
            180deg,
            #141d28,
            #111923
        ) !important;
}


/* ==================================================
   RANDOM HEADING
================================================== */

.ta-home-page .hm-random-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin: 22px 0 12px;

    padding-bottom: 11px;

    border-bottom:
        1px solid rgba(255,255,255,.055);
}

.ta-home-page .hm-random-heading__text {
    min-width: 0;
}

.ta-home-page .hm-random-heading__eyebrow {
    display: block;

    margin-bottom: 3px;

    color: #a48869;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: .085em;
}

.ta-home-page .hm-random-heading h4 {
    margin: 0;

    color: #e9edf3;

    font-size: 17px;
    line-height: 1.3;
    font-weight: 650;

    letter-spacing: -.012em;
}

.ta-home-page .hm-random-heading p {
    margin: 3px 0 0;

    color: #6f7b8c;

    font-size: 11px;
    line-height: 1.4;
}

.ta-home-page .hm-random-heading__link {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    margin-bottom: 2px;

    color: #82a9f5;

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    transition: color .18s ease;
}

.ta-home-page .hm-random-heading__link i {
    transition: transform .18s ease;
}

.ta-home-page .hm-random-heading__link:hover {
    color: #a9c4fb;
}

.ta-home-page .hm-random-heading__link:hover i {
    transform: translateX(3px);
}


/* ==================================================
   RANDOM CARD
   Phân biệt nhẹ, không badge đỏ
================================================== */

.ta-home-page .ta-categories.mt-3 .list-categories {
    border-color:
        rgba(186,147,102,.18) !important;

    background:
        linear-gradient(
            180deg,
            #131921,
            #11161d
        ) !important;
}

.ta-home-page .ta-categories.mt-3 .list-categories:hover {
    border-color:
        rgba(220,173,116,.30) !important;

    background:
        linear-gradient(
            180deg,
            #161d26,
            #121820
        ) !important;
}


/* ==================================================
   CHIP RANDOM MỚI
================================================== */

.ta-home-page .hm-random-chip {
    display: inline-flex;
    align-items: center;

    margin-left: 4px;
    padding: 2px 5px;

    vertical-align: 1px;

    border:
        1px solid rgba(213,165,109,.22);

    border-radius: 5px;

    color: #c9a276;

    background:
        rgba(196,146,91,.07);

    font-size: 8px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: .01em;
    text-transform: none;
}


/* Random không dùng màu đỏ Bootstrap nữa trong khu này */
.ta-home-page .ta-categories.mt-3 .badge.bg-danger {
    border-color:
        rgba(213,165,109,.20) !important;

    color: #c9a276 !important;

    background:
        rgba(196,146,91,.07) !important;
}


/* ==================================================
   BUTTON RANDOM
================================================== */

.ta-home-page .ta-categories.mt-3
.list-categories .btn-light {
    border-color:
        #2b323d !important;

    color:
        #b7c0cd !important;

    background:
        #171d25 !important;
}

.ta-home-page .ta-categories.mt-3
.list-categories .btn-light:hover {
    border-color:
        rgba(204,158,105,.32) !important;

    color:
        #e2d1bc !important;

    background:
        #1b2027 !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767.98px) {

    .ta-home-page .hm-category-subhead {
        display: block;

        margin-top: 10px;
        margin-bottom: 10px;
    }

    .ta-home-page .hm-category-subhead__title {
        font-size: 14px;
    }

    .ta-home-page .hm-category-subhead__desc {
        margin-top: 3px;

        white-space: normal;

        font-size: 10px;
    }


    .ta-home-page .hm-random-heading {
        align-items: center;

        margin-top: 17px;
    }

    .ta-home-page .hm-random-heading h4 {
        font-size: 16px;
    }

    .ta-home-page .hm-random-heading p {
        max-width: 230px;

        font-size: 10px;
    }

    .ta-home-page .hm-random-heading__link {
        font-size: 10px;
    }


    .ta-home-page .hm-random-chip {
        margin-left: 3px;
        padding: 2px 4px;

        font-size: 7px;
    }
}


@media (max-width: 390px) {

    .ta-home-page .hm-random-heading p {
        display: none;
    }

    .ta-home-page .hm-category-subhead__desc {
        max-width: 250px;
    }
}


/* === TRUMACC CATEGORY POLISH END === */

/* ===== ORIGINAL STYLE BLOCK 5 ===== */
/* === TRUMACC CATEGORY SPACING POLISH START === */

/* KHỐI DANH MỤC CHUNG */
.ta-home-page #demo-categories {
    margin-top: 8px;
}

.ta-home-page #demo-categories .demo-section-title {
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
}

/* TÁCH "MUA THEO TÀI KHOẢN" RÕ HƠN */
.ta-home-page .hm-category-subhead {
    display: block !important;

    margin: 0 0 18px !important;
    padding: 14px 16px !important;

    border: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;

    background: rgba(255,255,255,.02);
}

.ta-home-page .hm-category-subhead > div {
    display: block !important;
    min-width: 0;
}

.ta-home-page .hm-category-subhead__eyebrow {
    display: block;
    margin-bottom: 5px !important;

    color: #8a95a6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ta-home-page .hm-category-subhead__title {
    margin: 0 !important;

    color: #edf1f7;
    font-size: 17px !important;
    font-weight: 650;
    line-height: 1.35;
}

.ta-home-page .hm-category-subhead__desc {
    display: block !important;

    margin: 6px 0 0 !important;
    max-width: 460px;

    color: #778396;
    font-size: 12px !important;
    line-height: 1.5;

    white-space: normal !important;
    text-align: left !important;
}

/* TÁCH ROW CARD KHỎI SUBHEAD */
.ta-home-page #demo-categories > .row.align-items-center.gx-3 {
    margin-top: 2px !important;
}

/* RANDOM TÁCH THÀNH 1 KHỐI RIÊNG RÕ HƠN */
.ta-home-page .hm-random-heading {
    display: block !important;

    margin: 28px 0 16px !important;
    padding: 18px 16px 14px !important;

    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(196,146,91,.035),
            rgba(255,255,255,0)
        );
}

.ta-home-page .hm-random-heading__text {
    display: block !important;
    margin: 0 !important;
}

.ta-home-page .hm-random-heading__eyebrow {
    display: block;
    margin-bottom: 5px !important;

    color: #a48869;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.ta-home-page .hm-random-heading h4 {
    margin: 0 !important;

    color: #edf1f6;
    font-size: 18px !important;
    font-weight: 650;
    line-height: 1.35;
}

.ta-home-page .hm-random-heading p {
    display: block !important;

    margin: 6px 0 0 !important;
    max-width: 460px;

    color: #7a8493;
    font-size: 12px !important;
    line-height: 1.5;
}

.ta-home-page .hm-random-heading__link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;

    margin-top: 10px !important;

    color: #86aaf1;
    font-size: 12px !important;
    text-decoration: none;
}

/* CHIP RANDOM NHẸ HƠN 1 CHÚT */
.ta-home-page .hm-random-chip {
    margin-left: 6px !important;
    padding: 2px 6px !important;

    font-size: 8px !important;

    border-radius: 999px !important;

    color: #cfa16f !important;
    background: rgba(207,161,111,.08) !important;
    border: 1px solid rgba(207,161,111,.18) !important;
}

/* MOBILE */
@media (max-width: 767.98px) {
    .ta-home-page .hm-category-subhead,
    .ta-home-page .hm-random-heading {
        padding: 12px 13px !important;
        border-radius: 10px;
    }

    .ta-home-page .hm-category-subhead {
        margin-bottom: 14px !important;
    }

    .ta-home-page .hm-category-subhead__title {
        font-size: 15px !important;
    }

    .ta-home-page .hm-category-subhead__desc,
    .ta-home-page .hm-random-heading p {
        font-size: 11px !important;
        max-width: none;
    }

    .ta-home-page .hm-random-heading {
        margin-top: 22px !important;
        margin-bottom: 14px !important;
    }

    .ta-home-page .hm-random-heading h4 {
        font-size: 16px !important;
    }

    .ta-home-page .hm-random-heading__link {
        margin-top: 8px !important;
        font-size: 11px !important;
    }
}

/* === TRUMACC CATEGORY SPACING POLISH END === */

/* ===== ORIGINAL STYLE BLOCK 6 ===== */
/* === TRUMACC CATEGORY COMPACT START === */


/* ==================================================
   DESKTOP + TABLET
   Bỏ 2 box lớn, chuyển thành header mỏng
================================================== */

.ta-home-page .hm-category-subhead {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;

    gap: 20px !important;

    margin: 12px 0 10px !important;
    padding: 0 0 9px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    border-radius: 0 !important;

    background: transparent !important;
}

.ta-home-page .hm-category-subhead__eyebrow {
    margin-bottom: 2px !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
}

.ta-home-page .hm-category-subhead__title {
    font-size: 15px !important;
    line-height: 1.25 !important;
}

.ta-home-page .hm-category-subhead__desc {
    margin: 0 0 1px !important;

    color: #697587 !important;

    font-size: 10px !important;

    white-space: nowrap !important;
}


/* RANDOM cũng thu lại */
.ta-home-page .hm-random-heading {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;

    gap: 20px !important;

    margin: 20px 0 10px !important;
    padding: 0 0 9px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.055) !important;
    border-radius: 0 !important;

    background: transparent !important;
}

.ta-home-page .hm-random-heading__eyebrow {
    margin-bottom: 2px !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
}

.ta-home-page .hm-random-heading h4 {
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.ta-home-page .hm-random-heading p {
    margin: 3px 0 0 !important;

    color: #6e798a !important;

    font-size: 10px !important;
    line-height: 1.35 !important;
}

.ta-home-page .hm-random-heading__link {
    margin: 0 0 1px !important;

    font-size: 11px !important;
}


/* ==================================================
   CARD DANH MỤC GỌN HƠN
================================================== */

.ta-home-page .list-categories {
    padding: 9px !important;
    margin-bottom: 12px !important;

    border-radius: 10px !important;
}

.ta-home-page .list-categories >
.d-flex.align-items-center {
    min-height: 45px !important;
    padding-bottom: 6px !important;
}

.ta-home-page .list-categories .img img {
    width: 42px !important;
    height: 42px !important;

    border-radius: 8px !important;
}

.ta-home-page .list-categories .name {
    font-size: 12px !important;
}

.ta-home-page .list-categories .text-muted {
    font-size: 10px !important;
}

.ta-home-page .list-categories .btn-light {
    min-height: 29px !important;

    padding: 5px 6px !important;

    font-size: 10px !important;
}


/* giảm khoảng cách trước danh sách acc */
.ta-home-page .ta-account-group {
    margin-top: 22px !important;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767.98px) {

    /* Tiêu đề Danh mục chính */
    .ta-home-page #demo-categories .demo-section-title {
        margin-bottom: 10px !important;
        padding-bottom: 9px !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title .page-title {
        font-size: 18px !important;
    }


    /* ----- Đầy đủ thông tin ----- */

    .ta-home-page .hm-category-subhead {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        margin: 7px 0 8px !important;
        padding: 0 0 7px !important;
    }

    .ta-home-page .hm-category-subhead__eyebrow {
        margin-bottom: 1px !important;

        font-size: 8px !important;
    }

    .ta-home-page .hm-category-subhead__title {
        font-size: 14px !important;
    }

    /* Mobile: hien mo ta nho duoi tieu de */
    .ta-home-page .hm-category-subhead__desc {
        display: block !important;
        margin: 3px 0 0 !important;
        max-width: 280px !important;
        color: #77879b !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }


    /* ----- Random ----- */

    .ta-home-page .hm-random-heading {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        margin: 12px 0 8px !important;
        padding: 0 0 7px !important;
    }

    .ta-home-page .hm-random-heading__text {
        min-width: 0 !important;
    }

    .ta-home-page .hm-random-heading__eyebrow {
        margin-bottom: 1px !important;

        font-size: 8px !important;
    }

    .ta-home-page .hm-random-heading h4 {
        font-size: 14px !important;

        white-space: nowrap;
    }

    /* Mobile: hien mo ta Random */
    .ta-home-page .hm-random-heading p {
        display: block !important;
        margin: 3px 0 0 !important;
        color: #77879b !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .ta-home-page .hm-random-heading__link {
        flex: 0 0 auto !important;

        margin: 0 !important;

        font-size: 10px !important;

        white-space: nowrap;
    }


    /* ----- Grid ----- */

    .ta-home-page #demo-categories > .row,
    .ta-home-page .ta-categories.mt-3 > .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    .ta-home-page #demo-categories > .row > [class*="col-"],
    .ta-home-page .ta-categories.mt-3 > .row > [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .ta-home-page .list-categories {
        height: calc(100% - 10px) !important;

        margin-bottom: 10px !important;
        padding: 8px !important;
    }

    .ta-home-page .list-categories >
    .d-flex.align-items-center {
        min-height: 41px !important;

        padding-bottom: 5px !important;
    }

    .ta-home-page .list-categories .img {
        flex-basis: 38px !important;
        width: 38px !important;
    }

    .ta-home-page .list-categories .img img {
        width: 38px !important;
        height: 38px !important;
    }

    .ta-home-page .list-categories .info {
        padding-left: 7px !important;
    }

    .ta-home-page .list-categories .name {
        font-size: 11px !important;
    }

    .ta-home-page .list-categories .text-muted {
        font-size: 9px !important;
    }

    .ta-home-page .list-categories .btn-light {
        min-height: 28px !important;

        padding: 4px 3px !important;

        font-size: 9px !important;
    }


    /* Chip random mobile nhỏ */
    .ta-home-page .hm-random-chip {
        margin-left: 3px !important;

        padding: 1px 4px !important;

        font-size: 6px !important;
    }


    /* giảm khoảng cách tới Tài khoản Liên Quân */
    .ta-home-page .ta-account-group {
        margin-top: 17px !important;
    }

    .ta-home-page .ta-account-group > .page-title {
        margin-bottom: 10px !important;
        padding-bottom: 8px !important;

        font-size: 17px !important;
    }
}


/* iPhone nhỏ */
@media (max-width: 390px) {

    .ta-home-page .hm-category-subhead__title,
    .ta-home-page .hm-random-heading h4 {
        font-size: 13px !important;
    }

    .ta-home-page .hm-random-heading__link {
        font-size: 9px !important;
    }

}


/* === TRUMACC CATEGORY COMPACT END === */

/* ===== ORIGINAL STYLE BLOCK 7 ===== */
/* === TRUMACC DESKTOP CATEGORY FIX START === */

@media (min-width: 992px) {

    /* ==================================================
       TITLE DANH MỤC
    ================================================== */

    .ta-home-page #demo-categories .demo-section-title {
        margin-bottom: 15px !important;
        padding-bottom: 11px !important;
    }

    .ta-home-page #demo-categories
    .demo-section-title .page-title {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }


    /* ==================================================
       TÀI KHOẢN ĐẦY ĐỦ THÔNG TIN
       Gom toàn bộ về bên trái, không kéo mô tả sang phải
    ================================================== */

    .ta-home-page .hm-category-subhead {
        position: relative;

        display: block !important;

        margin: 0 0 11px !important;
        padding: 2px 0 2px 13px !important;

        border: 0 !important;
        border-bottom: 0 !important;

        background: transparent !important;
    }

    .ta-home-page .hm-category-subhead::before {
        content: "";

        position: absolute;

        left: 0;
        top: 2px;
        bottom: 2px;

        width: 2px;

        border-radius: 2px;

        background: #e99a4c;
    }

    .ta-home-page .hm-category-subhead__eyebrow {
        margin-bottom: 2px !important;

        color: #788598 !important;

        font-size: 8px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;

        letter-spacing: .09em;
    }

    .ta-home-page .hm-category-subhead__title {
        display: inline-block;

        margin: 0 !important;

        color: #eef2f7 !important;

        font-size: 14px !important;
        line-height: 1.3 !important;
        font-weight: 650 !important;
    }

    .ta-home-page .hm-category-subhead__desc {
        display: inline-block !important;

        margin: 0 0 0 9px !important;

        color: #606d7e !important;

        font-size: 10px !important;
        line-height: 1.3 !important;

        white-space: normal !important;
        vertical-align: 1px;
    }


    /* ==================================================
       GRID DANH MỤC
    ================================================== */

    .ta-home-page #demo-categories > .row,
    .ta-home-page .ta-categories.mt-3 > .row {
        margin-left: -7px !important;
        margin-right: -7px !important;
    }

    .ta-home-page #demo-categories > .row > [class*="col-"],
    .ta-home-page .ta-categories.mt-3 > .row > [class*="col-"] {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }


    /* ==================================================
       CARD GAME DESKTOP
       thấp hơn, nội dung cân hơn
    ================================================== */

    .ta-home-page .list-categories {
        height: auto !important;
        min-height: 104px !important;

        margin-bottom: 0 !important;
        padding: 11px !important;

        border-radius: 10px !important;
    }

    .ta-home-page .list-categories >
    .d-flex.align-items-center {
        min-height: 47px !important;

        padding-bottom: 8px !important;
    }

    .ta-home-page .list-categories .img {
        flex: 0 0 43px !important;
        width: 43px !important;

        padding: 0 !important;
    }

    .ta-home-page .list-categories .img img {
        width: 43px !important;
        height: 43px !important;

        border-radius: 9px !important;
    }

    .ta-home-page .list-categories .info {
        padding-left: 9px !important;
    }

    .ta-home-page .list-categories .name {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .ta-home-page .list-categories .text-muted {
        font-size: 10px !important;
    }

    .ta-home-page .list-categories .btn-light {
        min-height: 29px !important;

        margin-top: 1px !important;
        padding: 5px 8px !important;

        font-size: 10px !important;

        border-radius: 7px !important;
    }


    /* ==================================================
       RANDOM
       giống cùng một hệ thống với section trên
    ================================================== */

    .ta-home-page .hm-random-heading {
        position: relative;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        margin: 25px 0 11px !important;
        padding: 2px 0 2px 13px !important;

        border: 0 !important;
        border-bottom: 0 !important;

        background: transparent !important;
    }

    .ta-home-page .hm-random-heading::before {
        content: "";

        position: absolute;

        left: 0;
        top: 2px;
        bottom: 2px;

        width: 2px;

        border-radius: 2px;

        background: #9d754d;
    }

    .ta-home-page .hm-random-heading__text {
        min-width: 0;
    }

    .ta-home-page .hm-random-heading__eyebrow {
        margin-bottom: 2px !important;

        color: #866f58 !important;

        font-size: 8px !important;
        line-height: 1.2 !important;

        letter-spacing: .09em;
    }

    .ta-home-page .hm-random-heading h4 {
        display: inline-block;

        margin: 0 !important;

        color: #eef2f7 !important;

        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .ta-home-page .hm-random-heading p {
        display: inline-block !important;

        margin: 0 0 0 9px !important;

        color: #606d7e !important;

        font-size: 10px !important;
        line-height: 1.3 !important;

        vertical-align: 1px;
    }

    .ta-home-page .hm-random-heading__link {
        margin: 0 !important;

        color: #76a3f2 !important;

        font-size: 10px !important;

        white-space: nowrap;
    }


    /* ==================================================
       RANDOM CARD
    ================================================== */

    .ta-home-page .hm-random-chip {
        padding: 1px 5px !important;

        margin-left: 4px !important;

        border-radius: 5px !important;

        font-size: 7px !important;
        font-weight: 600 !important;

        opacity: .8;
    }


    /* ==================================================
       GIẢM KHOẢNG TRẮNG TRƯỚC LIST ACCOUNT
    ================================================== */

    .ta-home-page .ta-account-group {
        margin-top: 27px !important;
    }
}

/* === TRUMACC DESKTOP CATEGORY FIX END === */

/* ===== ORIGINAL STYLE BLOCK 8 ===== */
/* === TRUMACC AUDIT FIX V1 START === */


/* ==================================================
   1. TICKER
================================================== */

.ta-home-page .ta-recent-ticker {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: center !important;

    min-width: 0 !important;
    overflow: hidden !important;
}

.ta-home-page .ta-recent-ticker__label {
    position: relative !important;
    z-index: 3 !important;

    flex: none !important;

    white-space: nowrap !important;
}

.ta-home-page .marquee-text-wrap,
.ta-home-page .marquee-text-content {
    min-width: 0 !important;
    max-width: 100% !important;

    overflow: hidden !important;
}

.ta-home-page .marquee-text-wrap {
    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0,
            #000 20px,
            #000 calc(100% - 20px),
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0,
            #000 20px,
            #000 calc(100% - 20px),
            transparent 100%
        );
}

.ta-home-page .marquee-text-text {
    white-space: nowrap !important;
    will-change: transform;
}

.ta-home-page .ta-recent-ticker:hover
.marquee-text-text {
    animation-play-state: paused !important;
}

.ta-home-page .ta-recent-ticker__item {
    display: inline-flex !important;
    align-items: center !important;

    gap: 3px;

    margin-right: 30px !important;

    white-space: nowrap !important;
}

.ta-home-page .ta-recent-ticker__item img {
    flex: 0 0 auto;
}


/* ==================================================
   2. GIẢM CẢM GIÁC "AI TEMPLATE"
================================================== */

/* bỏ tầng chữ DANH MỤC */
.ta-home-page #demo-categories
.demo-section-title > div > span {
    display: none !important;
}

/* bỏ MUA THEO TÀI KHOẢN / MUA THEO GÓI */
.ta-home-page .hm-category-subhead__eyebrow,
.ta-home-page .hm-random-heading__eyebrow {
    display: none !important;
}

.ta-home-page .hm-category-subhead,
.ta-home-page .hm-random-heading {
    padding-top: 0 !important;
}

.ta-home-page .hm-category-subhead__title,
.ta-home-page .hm-random-heading h4 {
    letter-spacing: -.01em !important;
}


/* ==================================================
   3. RANDOM CHIP
================================================== */

.ta-home-page .hm-random-chip {
    display: inline-flex !important;
    align-items: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;

    flex: 0 0 auto !important;

    white-space: nowrap !important;
}

.ta-home-page .ta-categories.mt-3 .name {
    min-width: 0;

    display: flex !important;
    align-items: center !important;

    gap: 4px;

    flex-wrap: wrap;
}


/* ==================================================
   4. ACCOUNT GRID / CARD
================================================== */

.ta-home-page .ta-account-group
> div > .row > [class*="col-"] {
    display: flex;
}

.ta-home-page .ta-account {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;

    overflow: hidden !important;
}

.ta-home-page .ta-account .thumbnail {
    position: relative !important;

    width: 100% !important;
    aspect-ratio: 16 / 9 !important;

    overflow: hidden !important;

    background: #0b1017 !important;
}

.ta-home-page .ta-account .thumbnail
.carousel,
.ta-home-page .ta-account .thumbnail
.carousel-inner,
.ta-home-page .ta-account .thumbnail
.carousel-item {
    width: 100% !important;
    height: 100% !important;
}

.ta-home-page .ta-account .thumbnail
.carousel-item img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;
}


/* caption trên ảnh: không tràn Roblox mobile */
.ta-home-page .ta-account
.thumbnail .description {
    position: absolute !important;

    z-index: 4 !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 19px 9px 7px !important;

    overflow: hidden !important;

    color: rgba(255,255,255,.92) !important;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(3,6,10,.82)
        ) !important;

    font-size: 10px !important;
    line-height: 1.25 !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;

    pointer-events: none;
}


/* phần info tự kéo đều chiều cao */
.ta-home-page .ta-account .info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;

    min-width: 0 !important;
}

.ta-home-page .ta-account .info > .p-2 {
    flex: 1 1 auto;
}


/* seller không phá card */
.ta-home-page .ta-account .seller {
    min-width: 0 !important;
}

.ta-home-page .ta-account .seller > a {
    min-width: 0 !important;
}

.ta-home-page .ta-account
.seller .name {
    min-width: 0 !important;
    max-width: 100% !important;

    overflow: hidden !important;

    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}


/* field/value dễ scan */
.ta-home-page .ta-account .fields li {
    gap: 8px !important;
}

.ta-home-page .ta-account
.fields .key {
    flex: 1 1 auto;

    min-width: 0;
}

.ta-home-page .ta-account
.fields .value {
    flex: 0 1 58%;

    min-width: 0;
    max-width: 58%;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ==================================================
   5. PRICE FOOTER - CHỈ AMBER
================================================== */

.ta-home-page .ta-account
.view-account {
    margin-top: auto !important;

    border-top:
        1px solid rgba(244,160,75,.35) !important;
}

.ta-home-page .ta-account
.view-account a {
    color: #f2f4f7 !important;
}

.ta-home-page .ta-account
.view-account strong {
    color: #ffc06e !important;
}


/* ==================================================
   6. HERO - CTA NHÌN THẤY ĐƯỢC
   Slide vốn đã là thẻ <a>, không thêm JS
================================================== */

@media (min-width: 768px) {

    .ta-home-page
    .ta-promo-slide__copy::after {
        content: "Xem ngay  →";

        display: inline-flex;
        align-items: center;

        width: max-content;

        margin-top: 12px;
        padding: 7px 11px;

        border:
            1px solid rgba(255,192,110,.32);

        border-radius: 7px;

        color: #ffd09a;

        background:
            rgba(10,14,20,.48);

        font-size: 10px;
        line-height: 1;
        font-weight: 650;

        letter-spacing: .01em;
    }

    .ta-home-page .ta-promo-control {
        opacity: .72 !important;

        transition:
            opacity .18s ease,
            transform .18s ease !important;
    }

    .ta-home-page
    .ta-promo-carousel:hover
    .ta-promo-control {
        opacity: 1 !important;
    }
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767.98px) {

    /* ticker chỉ chiếm ít chiều ngang cho label */
    .ta-home-page .ta-recent-ticker {
        grid-template-columns:
            63px minmax(0, 1fr) !important;
    }

    .ta-home-page
    .ta-recent-ticker__label {
        font-size: 0 !important;
    }

    .ta-home-page
    .ta-recent-ticker__label i {
        margin-right: 4px;

        font-size: 10px !important;
    }

    .ta-home-page
    .ta-recent-ticker__label::after {
        content: "Gần đây";

        font-size: 9px;
        font-weight: 650;
    }

    .ta-home-page
    .ta-recent-ticker__item {
        margin-right: 24px !important;

        font-size: 9px !important;
    }

    .ta-home-page
    .ta-recent-ticker__item img {
        width: 18px !important;
        height: 18px !important;
    }


    /* card mobile không cao/lệch vì text */
    .ta-home-page .ta-account {
        margin-bottom: 12px !important;
    }

    .ta-home-page
    .ta-account .thumbnail .description {
        padding:
            15px 6px 5px !important;

        font-size: 8px !important;
    }

    .ta-home-page
    .ta-account .seller .name {
        font-size: 10px !important;
    }

    .ta-home-page
    .ta-account .seller .time {
        flex: 0 0 auto;

        font-size: 8px !important;
    }

    .ta-home-page
    .ta-account .fields li {
        min-height: 22px;

        padding-top: 3px !important;
        padding-bottom: 3px !important;

        font-size: 9px !important;
    }

    .ta-home-page
    .ta-account .fields .value {
        max-width: 54%;

        flex-basis: 54%;
    }


    /* random luôn inline */
    .ta-home-page
    .hm-random-chip {
        padding: 1px 4px !important;

        font-size: 6px !important;
    }


    /* tránh bottom nav che nội dung cuối trang */
    .ta-home-page {
        padding-bottom:
            calc(76px + env(safe-area-inset-bottom)) !important;
    }
}


/* tôn trọng người không muốn motion */
@media (prefers-reduced-motion: reduce) {

    .ta-home-page
    .marquee-text-text {
        animation-play-state: paused !important;
    }

    .ta-home-page *,
    .ta-home-page *::before,
    .ta-home-page *::after {
        transition-duration: .01ms !important;
    }
}


/* === TRUMACC AUDIT FIX V1 END === */

/* ===== ORIGINAL STYLE BLOCK 9 ===== */
/* === TRUMACC HOME POLISH V2 START === */


/* ==========================================================
   BASE
========================================================== */

.ta-home-page {
    --home-accent: var(--ta-accent, #f4a04b);
    --home-border: rgba(255,255,255,.065);
    --home-border-soft: rgba(255,255,255,.045);
    --home-card: #101721;
}


/* ==========================================================
   TICKER
========================================================== */

.ta-home-page .ta-recent-ticker {
    border-color:
        var(--home-border) !important;

    background:
        #0f1620 !important;

    box-shadow:
        none !important;
}


.ta-home-page
.ta-recent-ticker__label {
    border-color:
        var(--home-border) !important;

    background:
        rgba(244,160,75,.045) !important;
}


/* ==========================================================
   KHOẢNG CÁCH HERO -> CATEGORY
========================================================== */

.ta-home-page #demo-categories {
    padding-top:
        20px !important;
}


/* ==========================================================
   CATEGORY CARD
========================================================== */

.ta-home-page
#demo-categories
.list-categories,

.ta-home-page
.home-random-section
.list-categories {
    position:
        relative;

    padding:
        11px !important;

    border:
        1px solid var(--home-border) !important;

    border-radius:
        10px !important;

    background:
        var(--home-card) !important;

    box-shadow:
        none !important;

    transition:
        border-color .15s ease,
        background-color .15s ease;
}


.ta-home-page
#demo-categories
.list-categories:hover,

.ta-home-page
.home-random-section
.list-categories:hover {
    border-color:
        rgba(244,160,75,.18) !important;

    background:
        #111a25 !important;
}


/*
   Bỏ cảm giác icon nằm trong một box nữa.
*/
.ta-home-page
.list-categories
.img img {
    width:
        42px !important;

    height:
        42px !important;

    object-fit:
        cover !important;

    border:
        0 !important;

    border-radius:
        8px !important;

    box-shadow:
        none !important;
}


.ta-home-page
.list-categories
.name {
    color:
        #edf1f5 !important;

    font-size:
        13.5px !important;

    font-weight:
        650 !important;

    line-height:
        1.3 !important;
}


.ta-home-page
.list-categories
.text-muted {
    color:
        #708094 !important;
}


/* ==========================================================
   "XEM TẤT CẢ" KHÔNG CÒN LÀ BUTTON BOX LỚN
========================================================== */

.ta-home-page
#demo-categories
.list-categories > a.btn,

.ta-home-page
.home-random-section
.list-categories > a.btn {
    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        space-between !important;

    gap:
        8px !important;

    width:
        100% !important;

    min-height:
        30px !important;

    margin-top:
        3px !important;

    padding:
        8px 1px 1px !important;

    border:
        0 !important;

    border-top:
        1px solid var(--home-border-soft) !important;

    border-radius:
        0 !important;

    color:
        #9da9b8 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    font-size:
        11px !important;

    font-weight:
        600 !important;

    text-align:
        left !important;
}


.ta-home-page
#demo-categories
.list-categories > a.btn::after,

.ta-home-page
.home-random-section
.list-categories > a.btn::after {
    content:
        "→";

    flex:
        0 0 auto;

    color:
        var(--home-accent);

    font-size:
        13px;
}


.ta-home-page
#demo-categories
.list-categories > a.btn:hover,

.ta-home-page
.home-random-section
.list-categories > a.btn:hover {
    color:
        #e6ebf1 !important;

    background:
        transparent !important;
}


/* ==========================================================
   RANDOM — TÁCH NHẸ KHỎI DANH MỤC THƯỜNG
========================================================== */

.ta-home-page
.home-random-section {
    margin-top:
        27px !important;
}


.ta-home-page
.home-random-section
> .d-flex:first-child {
    min-height:
        38px;

    margin-bottom:
        10px !important;

    padding:
        0 2px 8px;

    border-bottom:
        1px solid var(--home-border-soft);
}


.ta-home-page
.home-random-section
> .d-flex:first-child
h4 {
    font-size:
        16px !important;

    font-weight:
        650 !important;
}


.ta-home-page
.home-random-section
> .d-flex:first-child
a {
    color:
        #8297b2 !important;

    font-size:
        11px !important;

    text-decoration:
        none !important;
}


.ta-home-page
.home-random-section
> .d-flex:first-child
a:hover {
    color:
        #c4cfdd !important;
}


/*
   RANDOM badge:
   bỏ đỏ, đưa về amber nhẹ.
*/
.ta-home-page
.home-random-section
.badge.bg-danger {
    padding:
        2px 5px !important;

    border:
        1px solid rgba(244,160,75,.20);

    border-radius:
        5px !important;

    color:
        #d99b55 !important;

    background:
        rgba(244,160,75,.065) !important;

    font-size:
        8px !important;

    font-weight:
        650 !important;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 575.98px) {


    /* ------------------------------------------
       TICKER MOBILE
       Không chạy marquee ngoài màn hình nữa.
       Chỉ hiện giao dịch mới nhất.
    ------------------------------------------ */

    .ta-home-page .ta-recent-ticker {
        display:
            grid !important;

        grid-template-columns:
            max-content minmax(0,1fr);

        align-items:
            center;

        width:
            100% !important;

        height:
            46px !important;

        min-height:
            46px !important;

        margin-bottom:
            12px !important;

        padding:
            0 !important;

        border-radius:
            9px !important;

        overflow:
            hidden !important;
    }


    .ta-home-page
    .ta-recent-ticker__label {
        display:
            flex !important;

        align-items:
            center !important;

        gap:
            5px !important;

        width:
            auto !important;

        height:
            100% !important;

        margin:
            0 !important;

        padding:
            0 10px !important;

        border:
            0 !important;

        border-right:
            1px solid var(--home-border) !important;

        border-radius:
            0 !important;

        font-size:
            9.5px !important;

        white-space:
            nowrap !important;
    }


    .ta-home-page
    .marquee-text-wrap {
        display:
            flex !important;

        align-items:
            center !important;

        width:
            100% !important;

        min-width:
            0 !important;

        height:
            100% !important;

        overflow:
            hidden !important;
    }


    .ta-home-page
    .marquee-text-content {
        width:
            100% !important;

        min-width:
            0 !important;

        overflow:
            hidden !important;
    }


    .ta-home-page
    .marquee-text-text {
        display:
            block !important;

        width:
            100% !important;

        min-width:
            0 !important;

        animation:
            none !important;

        /* TRUMACC TICKER FIX V5.1: keyframes điều khiển transform. */

        white-space:
            nowrap !important;
    }


    /*
       Mobile chỉ giữ transaction đầu tiên.
    */
    .ta-home-page
    .marquee-text-text
    .ta-recent-ticker__item {
        display:
            none !important;
    }


    .ta-home-page
    .marquee-text-text
    .ta-recent-ticker__item:first-of-type {
        display:
            block !important;

        width:
            100% !important;

        padding:
            0 9px !important;

        overflow:
            hidden !important;

        color:
            #9ba7b6 !important;

        font-size:
            10px !important;

        line-height:
            46px !important;

        text-overflow:
            ellipsis !important;

        white-space:
            nowrap !important;
    }


    .ta-home-page
    .ta-recent-ticker__item img {
        width:
            20px !important;

        height:
            20px !important;

        margin-right:
            4px;
    }


    /* ------------------------------------------
       HERO -> CONTENT
    ------------------------------------------ */

    .ta-home-page #demo-categories {
        padding-top:
            17px !important;
    }


    /* ------------------------------------------
       CARD MOBILE
       Giữ 2 cột nhưng compact.
    ------------------------------------------ */

    .ta-home-page
    #demo-categories
    .list-categories,

    .ta-home-page
    .home-random-section
    .list-categories {
        min-height:
            0 !important;

        margin-bottom:
            10px !important;

        padding:
            9px !important;

        border-radius:
            9px !important;
    }


    /*
       Ép icon + chữ nằm ngang thay vì xếp dọc.
    */
    .ta-home-page
    .list-categories
    > .d-flex {
        flex-direction:
            row !important;

        align-items:
            center !important;

        text-align:
            left !important;

        padding-bottom:
            7px !important;
    }


    .ta-home-page
    .list-categories
    .img {
        flex:
            0 0 auto;

        padding-bottom:
            0 !important;
    }


    .ta-home-page
    .list-categories
    .img img {
        width:
            39px !important;

        height:
            39px !important;

        border-radius:
            8px !important;
    }


    .ta-home-page
    .list-categories
    .info {
        min-width:
            0;

        padding-top:
            0 !important;

        padding-left:
            8px !important;

        text-align:
            left !important;
    }


    .ta-home-page
    .list-categories
    .name {
        max-width:
            100%;

        overflow:
            hidden;

        font-size:
            12px !important;

        text-overflow:
            ellipsis;

        white-space:
            nowrap;
    }


    .ta-home-page
    .list-categories
    .fs-12 {
        font-size:
            9.5px !important;
    }


    .ta-home-page
    #demo-categories
    .list-categories > a.btn,

    .ta-home-page
    .home-random-section
    .list-categories > a.btn {
        min-height:
            27px !important;

        padding-top:
            6px !important;

        font-size:
            9.5px !important;

        white-space:
            nowrap !important;

        overflow:
            hidden !important;
    }


    /* ------------------------------------------
       RANDOM MOBILE
    ------------------------------------------ */

    .ta-home-page
    .home-random-section {
        margin-top:
            23px !important;
    }


    .ta-home-page
    .home-random-section
    > .d-flex:first-child {
        min-height:
            34px;

        margin-bottom:
            9px !important;

        padding-bottom:
            7px;
    }


    .ta-home-page
    .home-random-section
    > .d-flex:first-child
    h4 {
        font-size:
            14px !important;
    }


    .ta-home-page
    .home-random-section
    > .d-flex:first-child
    a {
        font-size:
            10px !important;
    }


    /*
       Trong card random không cần badge nổi quá nhiều.
    */
    .ta-home-page
    .home-random-section
    .list-categories
    .badge {
        font-size:
            6.5px !important;

        vertical-align:
            middle;
    }

}


/* iPhone rất nhỏ */
@media (max-width: 370px) {

    .ta-home-page
    .ta-recent-ticker__label {
        padding:
            0 8px !important;

        font-size:
            8.5px !important;
    }


    .ta-home-page
    .list-categories
    .img img {
        width:
            35px !important;

        height:
            35px !important;
    }


    .ta-home-page
    .list-categories
    .name {
        font-size:
            11px !important;
    }

}


/* === TRUMACC HOME POLISH V2 END === */

/* ===== ORIGINAL STYLE BLOCK 10 ===== */
/* === TRUMACC MOBILE TICKER FIX V3 START === */

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

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


@media (max-width: 575.98px) {

    /*
       Thanh tổng:
       82px nhãn + phần ticker còn lại.
    */
    .ta-home-page .ta-recent-ticker {
        display: grid !important;

        grid-template-columns:
            82px minmax(0, 1fr) !important;

        align-items: center !important;

        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;

        padding: 0 !important;

        overflow: hidden !important;

        border-radius: 9px !important;
    }


    /*
       Nhãn cố định.
       Bỏ text dài "Giao dịch gần đây"
       trên mobile, chỉ để "GẦN ĐÂY".
    */
    .ta-home-page
    .ta-recent-ticker__label {
        position: relative !important;

        z-index: 5 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        width: 82px !important;
        height: 44px !important;

        min-width: 82px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        border: 0 !important;
        border-right:
            1px solid rgba(255,255,255,.07) !important;

        border-radius: 0 !important;

        color: transparent !important;

        font-size: 0 !important;

        white-space: nowrap !important;

        background:
            #111923 !important;
    }


    .ta-home-page
    .ta-recent-ticker__label i {
        display: none !important;
    }


    .ta-home-page
    .ta-recent-ticker__label::after {
        content: "GẦN ĐÂY";

        display: block;

        color: #e3a65c;

        font-size: 9px;

        font-weight: 700;

        letter-spacing: .02em;

        white-space: nowrap;
    }


    /*
       Khu chạy ticker.
       Nó tuyệt đối không được tràn qua label.
    */
    .ta-home-page
    .marquee-text-wrap {
        position: relative !important;

        z-index: 1 !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
    }


    .ta-home-page
    .marquee-text-content {
        position: relative !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;

        height: 44px !important;

        overflow: hidden !important;
    }


    /*
       Khôi phục chuyển động.
    */
    .ta-home-page
    .marquee-text-text {
        display: inline-flex !important;

        align-items: center !important;

        width: max-content !important;
        min-width: max-content !important;

        height: 44px !important;

        padding-left: 10px !important;

        white-space: nowrap !important;

        animation:
            trumaccMobileTicker 28s linear infinite !important;

        will-change: transform;
    }


    /*
       V2 từng ẩn các item sau item đầu.
       Bật toàn bộ lại.
    */
    .ta-home-page
    .marquee-text-text
    .ta-recent-ticker__item {
        display: inline-flex !important;

        align-items: center !important;

        flex: 0 0 auto !important;

        width: auto !important;

        margin-right: 30px !important;

        padding: 0 !important;

        overflow: visible !important;

        color: #aab3c0 !important;

        font-size: 10px !important;

        line-height: 44px !important;

        text-overflow: clip !important;

        white-space: nowrap !important;
    }


    .ta-home-page
    .ta-recent-ticker__item:first-of-type {
        width: auto !important;

        padding: 0 !important;

        line-height: 44px !important;
    }


    .ta-home-page
    .ta-recent-ticker__item img {
        width: 21px !important;
        height: 21px !important;

        margin-right: 5px !important;

        border-radius: 50%;
    }

}


/*
   iPhone nhỏ hơn nữa.
*/
@media (max-width: 370px) {

    .ta-home-page .ta-recent-ticker {
        grid-template-columns:
            72px minmax(0, 1fr) !important;
    }


    .ta-home-page
    .ta-recent-ticker__label {
        width: 72px !important;
        min-width: 72px !important;
    }


    .ta-home-page
    .ta-recent-ticker__label::after {
        font-size: 8px;
    }

}


/* === TRUMACC MOBILE TICKER FIX V3 END === */

/* ===== ORIGINAL STYLE BLOCK 11 ===== */
/* === TRUMACC MOBILE TICKER V4 START === */

@media (max-width: 575.98px) {

    .ta-home-page .ta-recent-ticker {
        display: grid !important;

        grid-template-columns:
            82px minmax(0,1fr) !important;

        height:
            44px !important;

        min-height:
            44px !important;

        overflow:
            hidden !important;
    }


    .ta-home-page
    .ta-recent-ticker__label {
        position:
            relative !important;

        z-index:
            5 !important;

        width:
            82px !important;

        min-width:
            82px !important;

        height:
            44px !important;

        display:
            flex !important;

        align-items:
            center !important;

        justify-content:
            center !important;

        padding:
            0 !important;

        color:
            transparent !important;

        font-size:
            0 !important;

        background:
            #111923 !important;

        border:
            0 !important;

        border-right:
            1px solid rgba(255,255,255,.07) !important;

        overflow:
            hidden !important;
    }


    .ta-home-page
    .ta-recent-ticker__label i {
        display:
            none !important;
    }


    .ta-home-page
    .ta-recent-ticker__label::after {
        content:
            "GẦN ĐÂY";

        color:
            #e3a65c;

        font-size:
            9px;

        font-weight:
            700;

        white-space:
            nowrap;
    }


    .ta-home-page
    .marquee-text-wrap,

    .ta-home-page
    .marquee-text-content {
        position:
            relative !important;

        width:
            100% !important;

        min-width:
            0 !important;

        height:
            44px !important;

        overflow:
            hidden !important;
    }


    /*
       JS V4 điều khiển transform.
       Tắt toàn bộ CSS animation mobile.
    */
    .ta-home-page
    .marquee-text-text {
        display:
            inline-flex !important;

        align-items:
            center !important;

        width:
            max-content !important;

        min-width:
            max-content !important;

        height:
            44px !important;

        animation:
            none !important;

        transition:
            none !important;

        transform:
            translate3d(0,0,0);

        will-change:
            transform;

        white-space:
            nowrap !important;
    }


    .ta-home-page
    .marquee-text-text
    .ta-recent-ticker__item {
        display:
            inline-flex !important;

        align-items:
            center !important;

        flex:
            0 0 auto !important;

        width:
            auto !important;

        margin-right:
            34px !important;

        padding:
            0 !important;

        color:
            #aab3c0 !important;

        font-size:
            10px !important;

        line-height:
            44px !important;

        white-space:
            nowrap !important;
    }


    .ta-home-page
    .ta-recent-ticker__item img {
        width:
            21px !important;

        height:
            21px !important;

        flex:
            0 0 21px;

        margin-right:
            5px !important;
    }

}


@media (max-width: 370px) {

    .ta-home-page .ta-recent-ticker {
        grid-template-columns:
            72px minmax(0,1fr) !important;
    }

    .ta-home-page
    .ta-recent-ticker__label {
        width:
            72px !important;

        min-width:
            72px !important;
    }

}


/* === TRUMACC MOBILE TICKER V4 END === */

/* ===== ORIGINAL STYLE BLOCK 12 ===== */
/* === TRUMACC HOME MOBILE TICKER FULL ITEM V1 === */
@media (max-width: 575.98px) {
    body .ta-home-page .ta-recent-ticker
    .marquee-text-text .ta-recent-ticker__item,
    body .ta-home-page .ta-recent-ticker
    .marquee-text-text .ta-recent-ticker__item:first-of-type {
        flex: 0 0 auto !important;
        width: max-content !important;
        max-width: none !important;
        overflow: visible !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
    }
}
