.tf-section {
    --tf-font: SF Pro, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --tf-logo-bg: #0A0E23;
    --tf-red: #FF4132;
    --tf-section-bg: transparent;
    --tf-title-row-color: #000;
    --tf-item-bg: #FFFFFF05;
    --tf-item-border-start: rgba(102, 102, 102, 0);
    --tf-item-border-end: rgba(0, 0, 0, 0.3);
    --tf-item-title-color: #4B1E00;
    --tf-item-desc-color: #A7A7A7;
    --tf-cta-bg: var(--tf-red);
    --tf-cta-text: #fff;
    --tf-cta-border-start: rgba(255, 255, 255, 0.2);
    --tf-cta-border-end: rgba(153, 153, 153, 0.1);
    --tf-slider-bg: transparent;
    --tf-slider-border: #F1F1F1;
    --tf-slider-title-color: #212121;
    --tf-slider-accent-start: #FF2424;
    --tf-slider-accent-end: #AE0000;
    --tf-slider-cta-bg: var(--tf-red);
    --tf-slider-cta-text: #fff;
    --tf-slider-logo-bg: var(--tf-logo-bg);
    --tf-slider-logo-border: rgba(0, 0, 0, 0.08);
    --tf-slider-nav-color: #670096;
    --tf-slider-nav-bg: transparent;
    --tf-slider-nav-hover-bg: transparent;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    container-type: inline-size;
    background: var(--tf-section-bg);
    font-family: var(--tf-font);
}

.tf-section,
.tf-section *,
.tf-section *::before,
.tf-section *::after {
    box-sizing: border-box;
}

.tf-section.tf-size-hidden {
    display: none !important;
}

@keyframes tf-scroll {
    0% {
        transform: translateX(0);
    }

    40%,
    60% {
        transform: translateX(var(--tf-scroll));
    }

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

.tf-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding-right: 10px;
    border-radius: 8px;
    background: var(--tf-item-bg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.tf-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, var(--tf-item-border-start) 25%, var(--tf-item-border-end) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tf-item + .tf-item {
    margin-top: 32px;
}

.tf-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--tf-logo-bg);
}

.tf-logo img,
:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-body {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
}

.tf-title,
.tf-desc {
    white-space: nowrap;
    overflow: hidden;
}

.tf-title {
    font-weight: 1000;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0;
    color: var(--tf-item-title-color);
}

.tf-title-inner,
.tf-desc-inner {
    display: inline-block;
    white-space: nowrap;
}

.tf-desc {
    margin-top: 8px;
    font-weight: 700;
    font-size: 12.6px;
    line-height: 20.16px;
    letter-spacing: 0;
    color: var(--tf-item-desc-color);
    text-transform: uppercase;
}

.tf-cta {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--tf-cta-bg);
    color: var(--tf-cta-text);
    font-weight: 1000;
    font-style: italic;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    border: 1px solid;
    border-image-source: linear-gradient(134.91deg, var(--tf-cta-border-start) 0.08%, var(--tf-cta-border-end) 99.92%);
    border-image-slice: 1;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .15s;
}

.tf-cta:hover {
    transform: translateY(-2px);
    color: var(--tf-cta-text);
}

.tf-cta-hidden .tf-cta {
    display: none;
}

.tf-cta-hidden .tf-body {
    padding-right: 0;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-item {
    height: 72px;
    padding-right: 8px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-item + .tf-item {
    margin-top: 20px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-logo {
    width: 72px;
    height: 72px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-body {
    padding: 0 12px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-title {
    font-size: 16px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-desc {
    margin-top: 6px;
    font-size: 11.5px;
    line-height: 17px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-cta {
    width: 52px;
    height: 52px;
    font-size: 14px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-item {
    height: 60px;
    padding-right: 0;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-item + .tf-item {
    margin-top: 14px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-logo {
    width: 60px;
    height: 60px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-body {
    padding: 0 10px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-title {
    font-size: 14px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-desc {
    margin-top: 4px;
    font-size: 10px;
    line-height: 14px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-cta {
    display: none;
}

.tf-title-row {
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
    font-weight: 860;
    font-size: 28px;
    letter-spacing: 0;
    color: var(--tf-title-row-color);
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-compact .tf-title-row {
    margin-bottom: 12px;
    font-size: 24px;
}

.tf-section:not(.tf-theme-style3):not(.tf-theme-style4).tf-size-mini .tf-title-row {
    margin-bottom: 10px;
    font-size: 20px;
}

.tf-theme-dark {
    --tf-title-row-color: #fff;
    --tf-item-title-color: #FFD875;
    --tf-item-desc-color: #aaa;
}

.tf-theme-style3,
.tf-theme-style4 {
    max-width: 100%;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 90px;
    border: 1px solid var(--tf-slider-border);
    border-radius: 12px;
    background: var(--tf-slider-bg);
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-title-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 10px;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-title-area--outside {
    display: none;
    align-self: flex-start;
    width: 100%;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-title-text {
    width: 74px;
    font-weight: 1000;
    font-style: italic;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--tf-slider-title-color);
    white-space: nowrap;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-title-text svg {
    display: inline-block;
    color: var(--tf-slider-accent-start);
    fill: currentColor;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-red {
    font-size: 20px;
    font-family: var(--tf-font);
    background: linear-gradient(203.02deg, var(--tf-slider-accent-start) 14.33%, var(--tf-slider-accent-end) 85.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-right {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 32px;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-track-wrap {
    width: 100%;
    overflow: hidden;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-track {
    --tf-s3-item-max-width: 80px;
    display: flex;
    gap: 8px;
    transition: transform .4s ease;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-logo {
    width: 80px;
    height: 60px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--tf-slider-logo-border);
    border-radius: 12px;
    background: var(--tf-slider-logo-bg);
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 6px;
    background: var(--tf-slider-cta-bg);
    color: var(--tf-slider-cta-text);
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    outline: none;
    transition: transform .15s;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-cta:hover {
    transform: scale(1.05);
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--tf-slider-nav-bg);
    color: var(--tf-slider-nav-color);
    cursor: pointer;
    outline: none;
    transform: translateY(-50%);
    transition: transform .2s;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn svg {
    display: block;
    fill: currentColor;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn path {
    fill: currentColor;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn:hover,
:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn:active,
:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-btn:focus {
    background: var(--tf-slider-nav-hover-bg);
    transform: translateY(-50%) scale(1.1);
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-prev {
    left: 8px;
}

:is(.tf-theme-style3, .tf-theme-style4) .tf-s3-next {
    right: 8px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-s3-small .tf-s3-logo,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-logo {
    width: 64px;
    height: 48px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-s3-small .tf-s3-cta,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-cta {
    padding: 3px;
    font-size: 8px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-title-area--outside,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-title-area--outside {
    display: block;
    margin-bottom: 4px;
    text-align: left;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-title-area--outside .tf-s3-title-text,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-title-area--outside .tf-s3-title-text {
    width: auto;
    font-size: 16px;
    white-space: nowrap;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-title-area--outside .tf-s3-title-text br,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-title-area--outside .tf-s3-title-text br {
    display: none;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-title-area--outside .tf-s3-red,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-title-area--outside .tf-s3-red {
    font-size: inherit;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-title-area,
:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-title-area {
    display: none;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-compact .tf-s3-right {
    padding: 0 12px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-container {
    height: 66px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-right {
    padding: 0;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-track {
    --tf-s3-item-max-width: 9999px;
    gap: 4px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-logo {
    width: 56px;
    height: 42px;
    border-radius: 8px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-cta {
    height: 16px;
    padding: 0 4px;
    border-radius: 4px;
    font-size: 7.5px;
}

:is(.tf-theme-style3, .tf-theme-style4).tf-size-mini .tf-s3-btn {
    display: none;
}

.tf-theme-style4 {
    --tf-slider-border: #262626;
    --tf-slider-title-color: #DFDFDF;
    --tf-slider-nav-color: #C23EFF;
}
