/* ShopAccount seamless announcement and activity tickers v10 */
body.marketplace-surface .market-shell {
    padding-bottom: 31px;
}

body.marketplace-surface .market-ticker-bar-v10 {
    --ticker-height: 31px;
    --ticker-surface: rgba(255, 255, 255, .97);
    --ticker-line: #e6e9ef;
    --ticker-ink: #596579;
    --ticker-muted: #8b95a6;
    --ticker-accent: var(--gcmmo-brand, #f43f5e);
    width: 100%;
    min-height: var(--ticker-height);
    height: var(--ticker-height);
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ticker-ink);
    background: var(--ticker-surface);
    border-color: var(--ticker-line);
    font: 700 10px/1 Manrope, Inter, "Segoe UI", sans-serif;
    white-space: nowrap;
}

body.marketplace-surface .market-ticker-pin-v10 {
    position: relative;
    z-index: 2;
    min-width: max-content;
    height: var(--ticker-height);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-right: 16px;
    padding-left: max(20px, calc((100vw - var(--market-max)) / 2));
    color: var(--ticker-accent);
    background: var(--ticker-surface);
    box-shadow: 12px 0 18px -16px rgba(26, 35, 52, .38);
}

body.marketplace-surface .market-announcement-strip .market-ticker-pin-v10 > .ui-icon {
    display: none;
}

body.marketplace-surface .market-announcement-strip .market-ticker-pin-v10 > b {
    min-height: 21px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    color: #fff;
    background: var(--ticker-accent);
    border-radius: 7px;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .035em;
}

body.marketplace-surface .market-ticker-viewport-v10 {
    position: relative;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

body.marketplace-surface .market-ticker-track-v10 {
    width: max-content;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    will-change: transform;
    animation: market-ticker-scroll-v10 38s linear infinite;
}

body.marketplace-surface .market-ticker-group-v10 {
    min-width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding-right: 42px;
}

body.marketplace-surface .market-announcement-item-v10 {
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ticker-ink);
}

body.marketplace-surface .market-announcement-item-v10::after {
    content: "";
    width: 1px;
    height: 15px;
    margin: 0 22px;
    background: var(--ticker-line);
}

body.marketplace-surface .market-announcement-item-v10 > b {
    color: #404b5f;
    font-size: 9px;
    font-weight: 850;
}

body.marketplace-surface .market-announcement-item-v10 > em {
    max-width: 520px;
    overflow: hidden;
    color: #737e90;
    font-size: 10px;
    font-style: normal;
    font-weight: 680;
    text-overflow: ellipsis;
}

body.marketplace-surface .market-live-ticker {
    --ticker-height: 31px;
    position: fixed;
    inset: auto 0 0;
    z-index: 75;
    min-height: var(--ticker-height);
    height: var(--ticker-height);
    border-top: 1px solid var(--ticker-line);
    backdrop-filter: blur(14px);
}

body.marketplace-surface .market-live-ticker::before {
    content: none;
    display: none;
}

body.marketplace-surface .market-live-pin-v10 {
    padding-right: 18px;
    color: var(--ticker-accent);
    font-size: 9px;
    font-weight: 850;
}

body.marketplace-surface .market-live-pin-v10 > .ui-icon {
    width: 15px;
    height: 15px;
    color: currentColor;
    stroke-width: 1.8;
}

body.marketplace-surface .market-live-pin-v10 > b {
    font-size: 9px;
    font-weight: 850;
}

body.marketplace-surface .market-live-ticker .market-ticker-track-v10,
body.marketplace-surface .market-live-ticker-track {
    gap: 0;
    animation: market-ticker-scroll-v10 46s linear infinite;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 {
    gap: 0;
    padding-right: 44px;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a {
    height: 100%;
    max-width: 510px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ticker-ink);
    text-decoration: none;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a::after {
    content: "";
    width: 1px;
    height: 14px;
    margin: 0 22px;
    background: var(--ticker-line);
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > .ui-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #7f8a9c;
    stroke-width: 1.8;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > b {
    flex: 0 0 auto;
    color: var(--ticker-accent);
    font-size: 9px;
    font-weight: 850;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > span {
    min-width: 0;
    max-width: 360px;
    overflow: hidden;
    color: #566175;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > em {
    flex: 0 0 auto;
    color: #8b95a6;
    font-size: 8px;
    font-style: normal;
    font-weight: 750;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a:hover > span,
body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a:focus-visible > span {
    color: var(--ticker-accent);
}

body.marketplace-surface .market-ticker-bar-v10:hover .market-ticker-track-v10,
body.marketplace-surface .market-ticker-bar-v10:focus-within .market-ticker-track-v10 {
    animation-play-state: paused;
}

body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--ticker-accent) 46%, transparent);
    outline-offset: -2px;
    border-radius: 4px;
}

@keyframes market-ticker-scroll-v10 {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 760px) {
    body.marketplace-surface .market-ticker-bar-v10 {
        --ticker-height: 30px;
        font-size: 9px;
    }

    body.marketplace-surface .market-ticker-pin-v10 {
        padding-right: 10px;
        padding-left: 12px;
    }

    body.marketplace-surface .market-announcement-strip .market-ticker-pin-v10 > b {
        min-height: 20px;
        padding-inline: 7px;
        font-size: 8px;
    }

    body.marketplace-surface .market-announcement-item-v10::after,
    body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a::after {
        margin-inline: 15px;
    }

    body.marketplace-surface .market-announcement-item-v10 > em {
        max-width: 340px;
        font-size: 9px;
    }

    body.marketplace-surface .market-live-pin-v10 > b {
        width: auto;
        flex: 0 0 auto;
        overflow: visible;
        font-size: 0;
    }

    body.marketplace-surface .market-live-pin-v10 > b::after {
        content: "MỚI NHẤT";
        width: max-content;
        display: block;
        font-size: 8px;
    }

    body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a {
        max-width: 390px;
    }

    body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > span {
        max-width: 245px;
        font-size: 8px;
    }

    body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > em {
        display: none;
    }
}

@media (max-width: 420px) {
    body.marketplace-surface .market-ticker-pin-v10 {
        padding-left: 9px;
    }

    body.marketplace-surface .market-announcement-strip .market-ticker-pin-v10 > b {
        padding-inline: 6px;
    }

    body.marketplace-surface .market-live-pin-v10 {
        gap: 5px;
        padding-right: 8px;
    }

    body.marketplace-surface .market-live-pin-v10 > .ui-icon {
        width: 13px;
        height: 13px;
    }

    body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > span {
        max-width: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.marketplace-surface .market-ticker-track-v10 {
        width: auto;
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }

    body.marketplace-surface .market-ticker-viewport-v10 {
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-mask-image: none;
        mask-image: none;
    }

    body.marketplace-surface .market-ticker-group-v10[aria-hidden="true"] {
        display: none;
    }
}

html[data-color-scheme="dark"] body.marketplace-surface .market-ticker-bar-v10 {
    --ticker-surface: rgba(7, 7, 7, .97);
    --ticker-line: #292929;
    --ticker-ink: #c5cbd5;
    --ticker-muted: #929aaa;
    background: var(--ticker-surface);
    border-color: var(--ticker-line);
}

html[data-color-scheme="dark"] body.marketplace-surface .market-ticker-pin-v10 {
    background: var(--ticker-surface);
}

html[data-color-scheme="dark"] body.marketplace-surface .market-announcement-item-v10 > b {
    color: #eef1f5;
}

html[data-color-scheme="dark"] body.marketplace-surface .market-announcement-item-v10 > em,
html[data-color-scheme="dark"] body.marketplace-surface .market-live-ticker .market-ticker-group-v10 > a > span {
    color: #b1bac8;
}
