.se-iptv-outage-bar {
    width: 100%;
    background: #3f2a12;
    border-bottom: 1px solid rgba(248, 215, 168, 0.28);
    position: relative;
    z-index: 1101;
}
.se-iptv-outage-bar__inner {
    max-width: var(--se-layout-max);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 7px var(--se-layout-gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 34px;
}
.se-iptv-outage-bar__msg {
    color: #f8d7a8;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}
.se-iptv-outage-bar__link {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.se-iptv-outage-bar__link:hover { text-decoration: underline; }
[data-theme="light"] .se-iptv-outage-bar {
    background: #fff4e0;
    border-bottom-color: rgba(180, 120, 40, 0.28);
}
[data-theme="light"] .se-iptv-outage-bar__msg { color: #7a4b12; }
[data-theme="light"] .se-iptv-outage-bar__link { color: #1d4ed8; }

.discount-topbar {
    width: 100%;
    background: linear-gradient(90deg, var(--palette-purple-wash-b) 0%, var(--palette-violet-soft-bg) 50%, var(--palette-purple-wash-b) 100%);
    border-bottom: 1px solid rgba(124,58,237,.25);
    position: relative;
    z-index: 1100;
    overflow: hidden;
}
.discount-topbar-inner {
    position: relative;
    max-width: var(--se-layout-max);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 10px calc(var(--se-layout-gutter) + 36px) 10px var(--se-layout-gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 40px;
}
.discount-topbar-icon {
    color: var(--color-warning-removed);
    font-size: 13px;
    flex-shrink: 0;
}
.discount-topbar-msg {
    color: var(--discount-text-deep);
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}
.discount-topbar-msg strong { color: var(--discount-text-strong); }
.discount-topbar-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124,58,237,.12);
    border: 1px solid rgba(124,58,237,.4);
    color: var(--color-violet-strong);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.discount-topbar-code:hover {
    background: rgba(124,58,237,.35);
    color: var(--discount-text-strong);
    text-decoration: none;
}
.discount-topbar-close {
    position: absolute;
    right: var(--se-layout-gutter);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(76,29,149,.4);
    font-size: 15px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color .2s, background .2s;
    border-radius: 4px;
}
.discount-topbar-close:hover {
    color: var(--discount-text-strong);
    background: rgba(0,0,0,.05);
}

[data-theme="dark"] .discount-topbar {
    background: linear-gradient(90deg, var(--discount-band-edge) 0%, var(--discount-band-mid) 50%, var(--discount-band-edge) 100%);
    border-bottom-color: rgba(168,85,247,.35);
}

[data-theme="dark"] .discount-topbar-icon {
    color: var(--color-warning);
}

[data-theme="dark"] .discount-topbar-msg {
    color: var(--palette-purple-muted-text);
}

[data-theme="dark"] .discount-topbar-msg strong {
    color: var(--text-inverse);
}

[data-theme="dark"] .discount-topbar-code {
    background: rgba(168,85,247,.25);
    border-color: rgba(168,85,247,.5);
    color: var(--palette-purple-text-soft);
}

[data-theme="dark"] .discount-topbar-code:hover {
    background: rgba(168,85,247,.45);
    color: var(--text-inverse);
}

[data-theme="dark"] .discount-topbar-close {
    color: rgba(226,216,245,.45);
}

[data-theme="dark"] .discount-topbar-close:hover {
    color: var(--text-inverse);
    background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
    .discount-topbar-inner {
        padding: 8px calc(var(--se-layout-gutter) + 32px) 8px var(--se-layout-gutter);
        gap: 7px;
    }
    .discount-topbar-msg { font-size: 12px; }
    .discount-topbar-close { right: max(8px, var(--se-layout-gutter)); font-size: 14px; }
}
@media (max-width: 480px) {
    .discount-topbar-inner { padding: 8px calc(var(--se-layout-gutter) + 30px) 8px var(--se-layout-gutter); gap: 6px; }
    .discount-topbar-icon { display: none; }
    .discount-topbar-msg { font-size: 11.5px; }
    .discount-topbar-code { font-size: 11px; padding: 3px 9px; }
}

/* ===== Buy Premium Page Banner ===== */
.discount-pp-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--palette-purple-wash-a) 0%, var(--palette-violet-soft-bg) 50%, var(--palette-purple-wash-a) 100%);
    border: 1px solid rgba(124,58,237,.35);
    box-shadow: 0 8px 32px rgba(124,58,237,.1), 0 0 0 1px rgba(124,58,237,.08);
}
.discount-pp-banner-glow {
    position: absolute;
    top: -60px; left: -60px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
    pointer-events: none;
    animation: discountGlowPulse 3s ease-in-out infinite;
}
@keyframes discountGlowPulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50%       { opacity: 1; transform: scale(1.1); }
}
.discount-pp-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
}
.discount-pp-banner-left { flex: 1; min-width: 0; }
.discount-pp-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.35);
    color: var(--color-warning);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.discount-pp-banner-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--discount-text-strong);
    margin: 0 0 6px;
    line-height: 1.2;
}
.discount-pp-banner-msg {
    color: var(--color-violet-strong);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
.discount-pp-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.discount-pp-banner-label {
    color: rgba(109,40,217,.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.discount-pp-banner-code-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,.08);
    border: 1.5px dashed rgba(124,58,237,.4);
    border-radius: 12px;
    padding: 8px 14px;
}
.discount-pp-banner-code {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--discount-text-mid);
    background: none;
    padding: 0;
    user-select: all;
}
.discount-pp-banner-copy {
    background: rgba(124,58,237,.12);
    border: 1px solid rgba(124,58,237,.35);
    color: var(--color-violet-strong);
    border-radius: 8px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.discount-pp-banner-copy:hover { background: rgba(124,58,237,.25); color: var(--discount-text-strong); }

[data-theme="dark"] .discount-pp-banner {
    background: linear-gradient(135deg, var(--discount-night-edge) 0%, var(--discount-band-inner) 50%, var(--discount-night-edge) 100%);
    border: 1px solid rgba(168,85,247,.4);
    box-shadow: 0 8px 32px rgba(168,85,247,.2), 0 0 0 1px rgba(168,85,247,.1);
}

[data-theme="dark"] .discount-pp-banner-glow {
    background: radial-gradient(circle, rgba(168,85,247,.25) 0%, transparent 70%);
}

[data-theme="dark"] .discount-pp-banner-title {
    color: var(--text-inverse);
}

[data-theme="dark"] .discount-pp-banner-msg {
    color: var(--palette-violet-soft-bg);
}

[data-theme="dark"] .discount-pp-banner-label {
    color: rgba(196,181,253,.7);
}

[data-theme="dark"] .discount-pp-banner-code-wrap {
    background: rgba(168,85,247,.15);
    border-color: rgba(168,85,247,.55);
}

[data-theme="dark"] .discount-pp-banner-code {
    color: var(--palette-purple-text-soft);
}

[data-theme="dark"] .discount-pp-banner-copy {
    background: rgba(168,85,247,.3);
    border-color: rgba(168,85,247,.5);
    color: var(--palette-purple-text-soft);
}

[data-theme="dark"] .discount-pp-banner-copy:hover {
    background: rgba(168,85,247,.55);
    color: var(--text-inverse);
}


@media (max-width: 640px) {
    .discount-pp-banner-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
    }
    .discount-pp-banner-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .discount-pp-banner-right {
        align-items: flex-start;
        width: 100%;
    }
    .discount-pp-banner-label {
        align-self: flex-start;
    }
    .discount-pp-banner-code-wrap {
        width: 100%;
        justify-content: space-between;
    }
    .discount-pp-banner-title { font-size: 17px; }
    .discount-pp-banner-code  { font-size: 17px; }
}
@media (max-width: 360px) {
    .discount-pp-banner-title { font-size: 15px; }
    .discount-pp-banner-code  { font-size: 15px; letter-spacing: .07em; }
}

.discount-pp-banner-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-warning);
}

/* ===== Feed banner (home / categories) ===== */
.discount-feed-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--palette-purple-wash-a) 0%, var(--palette-violet-soft-bg) 60%, var(--palette-purple-wash-a) 100%);
    border: 1px solid rgba(124,58,237,.3);
    position: relative;
}
.discount-feed-banner__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(124,58,237,.14);
    color: var(--color-violet-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.discount-feed-banner__body { flex: 1; min-width: 0; }
.discount-feed-banner__tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-warning);
    margin-bottom: 3px;
}
.discount-feed-banner__msg {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--discount-text-deep);
}
.discount-feed-banner__msg strong { color: var(--discount-text-strong); }
a.discount-feed-banner__cta,
a.discount-feed-banner__cta:any-link,
a.discount-feed-banner__cta:link,
a.discount-feed-banner__cta:visited,
a.discount-feed-banner__cta:hover,
a.discount-feed-banner__cta:focus,
a.discount-feed-banner__cta:focus-visible,
a.discount-feed-banner__cta:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(180, 83, 9, 0.42);
    border-radius: 999px;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-decoration: none;
    -webkit-text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--color-warning-deep, #b45309), var(--color-warning, #f59e0b));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22) inset,
        0 4px 14px rgba(180, 83, 9, 0.28);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.15s ease;
}
a.discount-feed-banner__cta i {
    font-size: 11px;
    line-height: 1;
    opacity: 0.92;
}
a.discount-feed-banner__cta:hover,
a.discount-feed-banner__cta:focus-visible {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 8px 18px rgba(180, 83, 9, 0.36);
}
@media (hover: hover) {
    a.discount-feed-banner__cta:hover {
        transform: translateY(-1px);
    }
}

[data-theme="dark"] .discount-feed-banner {
    background: linear-gradient(135deg, var(--discount-night-edge) 0%, var(--discount-band-inner) 55%, var(--discount-night-edge) 100%);
    border-color: rgba(168,85,247,.4);
}
[data-theme="dark"] .discount-feed-banner__icon {
    background: rgba(168,85,247,.22);
    color: var(--palette-purple-text-soft);
}
[data-theme="dark"] .discount-feed-banner__msg { color: var(--palette-purple-muted-text); }
[data-theme="dark"] .discount-feed-banner__msg strong { color: var(--text-inverse); }

@media (max-width: 640px) {
    .discount-feed-banner {
        flex-wrap: wrap;
        padding: 12px 14px;
    }
    .discount-feed-banner__cta { width: 100%; justify-content: center; }
}

.dfb-promo {
    --dfb-cycle: 16s;
    gap: 16px;
    padding: 12px 18px 12px 12px;
    overflow: hidden;
    isolation: isolate;
}
.dfb-promo::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -10%;
    width: 46%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(245, 158, 11, 0.16), transparent);
    pointer-events: none;
}
.dfb-promo__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.dfb-promo .discount-feed-banner__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}
.dfb-promo__lines {
    display: grid;
    font-size: 14.5px;
    line-height: 1.35;
}
.dfb-promo__lines > span {
    grid-area: 1 / 1;
    opacity: 0;
    animation: dfb-line var(--dfb-cycle) cubic-bezier(0.22, 0.61, 0.36, 1) infinite both;
}
.dfb-promo__lines > span:nth-child(2) { animation-delay: 4s; }
.dfb-promo__lines > span:nth-child(3) { animation-delay: 8s; }
.dfb-promo__lines > span:nth-child(4) { animation-delay: 12s; }
.dfb-promo__dots {
    display: flex;
    gap: 5px;
    margin-top: 7px;
}
.dfb-promo__dots i {
    width: 16px;
    height: 3px;
    border-radius: 3px;
    background: rgba(124, 58, 237, 0.22);
    overflow: hidden;
}
.dfb-promo__dots i::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--color-warning, #f59e0b);
    transform: scaleX(0);
    transform-origin: left center;
    animation: dfb-dot var(--dfb-cycle) linear infinite both;
    animation-delay: inherit;
}
.dfb-promo__dots i:nth-child(2) { animation-delay: 4s; }
.dfb-promo__dots i:nth-child(3) { animation-delay: 8s; }
.dfb-promo__dots i:nth-child(4) { animation-delay: 12s; }
[data-theme="dark"] .dfb-promo__dots i { background: rgba(196, 181, 253, 0.2); }

.dfb-promo__screen {
    position: relative;
    flex: 0 0 132px;
    width: 132px;
    height: 74px;
    border-radius: 10px;
    overflow: hidden;
    background: #0d1117;
    box-shadow:
        0 10px 24px -12px rgba(76, 29, 149, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    color: #e5e7eb;
    font-family: inherit;
}
.dfb-promo__art {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.4%, rgba(255, 255, 255, 0.28) 49.5%, rgba(255, 255, 255, 0.28) 50.5%, transparent 50.6%),
        radial-gradient(circle at 50% 50%, transparent 15%, rgba(255, 255, 255, 0.28) 15.5%, rgba(255, 255, 255, 0.28) 17%, transparent 17.5%),
        repeating-linear-gradient(90deg, #15803d 0 12.5%, #16a34a 12.5% 25%);
}
.dfb-promo__art i {
    position: absolute;
    top: 46%;
    left: 22%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: dfb-ball 3.2s ease-in-out infinite alternate;
}
.dfb-promo__live {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 3;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #fff;
    background: #ef4444;
}
.dfb-scene {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    animation: dfb-phase var(--dfb-cycle) ease infinite both;
}
.dfb-scene--hd { animation-delay: 4s; }
.dfb-scene--tv { animation-delay: 8s; }
.dfb-scene--ms { animation-delay: 12s; }

.dfb-ad {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #111827;
    background: #fde047;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: dfb-ad var(--dfb-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}
.dfb-ad--a {
    left: 8px;
    right: 8px;
    bottom: 6px;
    height: 13px;
    animation-delay: 0.3s;
}
.dfb-ad--b {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 22px;
    color: #fff;
    background: #db2777;
    animation-delay: 0.7s;
}
.dfb-ad--c {
    top: 50%;
    left: 50%;
    width: 52px;
    height: 30px;
    margin: -17px 0 0 -26px;
    color: #fff;
    background: #7c3aed;
    animation-delay: 1.1s;
}
.dfb-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    color: #fff;
    background: #10b981;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: dfb-stamp var(--dfb-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}

.dfb-hd__blur {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(13, 17, 23, 0.32) 0 3px, rgba(13, 17, 23, 0.12) 3px 6px),
        repeating-linear-gradient(90deg, rgba(13, 17, 23, 0.24) 0 3px, transparent 3px 6px);
    animation: dfb-blur var(--dfb-cycle) linear infinite both;
    animation-delay: 4s;
}
.dfb-hd__q {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: grid;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}
.dfb-hd__q em,
.dfb-hd__q b {
    grid-area: 1 / 1;
    justify-self: end;
    padding: 3px 6px;
    border-radius: 4px;
    font-style: normal;
    white-space: nowrap;
}
.dfb-hd__q em {
    color: #d1d5db;
    background: rgba(0, 0, 0, 0.6);
    animation: dfb-sd var(--dfb-cycle) linear infinite both;
    animation-delay: 4s;
}
.dfb-hd__q b {
    color: #111827;
    background: #f59e0b;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.7);
    opacity: 0;
    animation: dfb-hd var(--dfb-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
    animation-delay: 4s;
}

.dfb-scene--tv,
.dfb-scene--ms {
    background: #0d1117;
}
.dfb-tv__grid {
    position: absolute;
    inset: 22px 6px 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}
.dfb-tv__grid i {
    display: grid;
    place-items: center;
    border-radius: 4px;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    opacity: 0;
    animation: dfb-tile var(--dfb-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}
.dfb-tv__grid i:nth-child(1) { background: #2563eb; animation-delay: 8.1s; }
.dfb-tv__grid i:nth-child(2) { background: #dc2626; animation-delay: 8.25s; }
.dfb-tv__grid i:nth-child(3) { background: #059669; animation-delay: 8.4s; }
.dfb-tv__grid i:nth-child(4) { background: #9333ea; animation-delay: 8.55s; }
.dfb-tv__grid i:nth-child(5) { background: #ea580c; animation-delay: 8.7s; }
.dfb-tv__grid i:nth-child(6) { background: #0891b2; animation-delay: 8.85s; }
.dfb-tv__grid i:nth-child(2)::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 6px;
    border: 2px solid #f59e0b;
    opacity: 0;
    animation: dfb-pick var(--dfb-cycle) linear infinite both;
    animation-delay: 8s;
}
.dfb-tv__grid i:nth-child(2) { position: relative; }
.dfb-tv__m3u {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #111827;
    background: #f59e0b;
    opacity: 0;
    animation: dfb-pop var(--dfb-cycle) ease infinite both;
    animation-delay: 8s;
}

.dfb-ms__grid {
    position: absolute;
    inset: 4px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3px;
}
.dfb-ms__grid i {
    position: relative;
    border-radius: 4px;
    opacity: 0;
    animation: dfb-tile var(--dfb-cycle) cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}
.dfb-ms__grid i:nth-child(1) {
    background: linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.3) 49% 51%, transparent 51%), #b45309;
    animation-delay: 12.1s;
}
.dfb-ms__grid i:nth-child(2) {
    background: linear-gradient(90deg, transparent 49%, rgba(239, 68, 68, 0.6) 49% 51%, transparent 51%), #cbd5e1;
    animation-delay: 12.45s;
}
.dfb-ms__grid i:nth-child(3) {
    background: linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.35) 49% 51%, transparent 51%), #16a34a;
    animation-delay: 12.8s;
}
.dfb-ms__grid i:nth-child(4) {
    background: repeating-linear-gradient(90deg, #15803d 0 10%, #166534 10% 20%);
    animation-delay: 13.15s;
}
.dfb-ms__grid i:nth-child(3)::after {
    content: "\266A";
    position: absolute;
    right: 3px;
    bottom: 2px;
    display: grid;
    place-items: center;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 8px;
    color: #111827;
    background: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
    opacity: 0;
    animation: dfb-pop var(--dfb-cycle) ease infinite both;
    animation-delay: 12s;
}

.dfb-promo__off {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 4;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #111827;
    background: linear-gradient(135deg, #fde047, #f59e0b);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.55);
    animation: dfb-off 2s ease-in-out infinite;
}
.dfb-promo--offer .dfb-ad--b {
    right: auto;
    left: 6px;
    top: 22px;
}
.dfb-promo--offer .dfb-tv__m3u {
    right: auto;
    left: 36px;
}
.dfb-promo--offer::before {
    background: radial-gradient(closest-side, rgba(245, 158, 11, 0.24), transparent);
}
.dfb-promo__offer-msg {
    font-size: 15px;
    line-height: 1.3;
}
.dfb-promo__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 6px;
}
.dfb-promo__exp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--color-warning-deep, #b45309);
}
.dfb-promo__exp i {
    font-size: 11px;
}
[data-theme="dark"] .dfb-promo__exp {
    color: var(--color-warning, #f59e0b);
}
.dfb-promo__lines--sub {
    margin-top: 5px;
    font-size: 12.5px;
    opacity: 0.85;
}
.dfb-promo__lines--sub + .dfb-promo__dots {
    margin-top: 6px;
}

@keyframes dfb-off {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
@keyframes dfb-phase {
    0% { opacity: 0; }
    2%, 23% { opacity: 1; }
    25%, 100% { opacity: 0; }
}
@keyframes dfb-line {
    0% { opacity: 0; transform: translateY(70%); }
    2.5%, 22.5% { opacity: 1; transform: none; }
    25%, 100% { opacity: 0; transform: translateY(-70%); }
}
@keyframes dfb-dot {
    0% { transform: scaleX(0); }
    25% { transform: scaleX(1); }
    25.01%, 100% { transform: scaleX(0); }
}
@keyframes dfb-ball {
    0% { transform: translate(0, 0); }
    50% { transform: translate(40px, -14px); }
    100% { transform: translate(72px, 8px); }
}
@keyframes dfb-ad {
    0% { opacity: 0; transform: scale(0.4); }
    2.5%, 11% { opacity: 1; transform: scale(1); }
    13.5%, 100% { opacity: 0; transform: scale(0.7); }
}
@keyframes dfb-stamp {
    0%, 13.5% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
    16%, 23% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    25%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes dfb-blur {
    0%, 9% { opacity: 1; }
    11%, 100% { opacity: 0; }
}
@keyframes dfb-sd {
    0%, 9% { opacity: 1; }
    10%, 100% { opacity: 0; }
}
@keyframes dfb-hd {
    0%, 10% { opacity: 0; transform: scale(0.7); }
    12.5%, 23% { opacity: 1; transform: scale(1); }
    25%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes dfb-tile {
    0% { opacity: 0; transform: scale(0.5); }
    2%, 22% { opacity: 1; transform: scale(1); }
    25%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes dfb-pick {
    0%, 12% { opacity: 0; }
    13.5%, 23% { opacity: 1; }
    25%, 100% { opacity: 0; }
}
@keyframes dfb-pop {
    0%, 14% { opacity: 0; transform: translateY(4px); }
    16%, 23% { opacity: 1; transform: none; }
    25%, 100% { opacity: 0; transform: none; }
}

@media (max-width: 640px) {
    .dfb-promo {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 14px;
    }
    .dfb-promo::before {
        inset: -30% auto auto -20%;
        width: 70%;
        height: 120%;
    }
    .dfb-promo .discount-feed-banner__body {
        min-width: 0;
    }
    .dfb-promo .discount-feed-banner__tag {
        font-size: 10px;
        margin-bottom: 3px;
    }
    .dfb-promo .discount-feed-banner__cta {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 40px;
    }
    .dfb-promo__screen {
        flex-basis: auto;
        width: 112px;
        height: 63px;
        border-radius: 9px;
    }
    .dfb-promo__lines {
        font-size: 13.5px;
    }
    .dfb-promo__dots {
        margin-top: 6px;
    }
    .dfb-promo__offer-msg {
        font-size: 14px;
    }
    .dfb-promo__meta {
        gap: 5px 8px;
        margin-top: 5px;
    }
    .dfb-promo__exp {
        font-size: 11.5px;
    }
    .dfb-promo__lines--sub {
        margin-top: 4px;
        font-size: 12px;
    }
    .dfb-ad--c {
        width: 44px;
        height: 24px;
        margin: -14px 0 0 -22px;
    }
    .dfb-tv__grid {
        inset: 20px 5px 5px;
        gap: 3px;
    }
    .dfb-tv__grid i {
        font-size: 7px;
    }
}

@media (max-width: 380px) {
    .dfb-promo {
        gap: 10px;
        padding: 10px;
    }
    .dfb-promo__screen {
        width: 96px;
        height: 54px;
    }
    .dfb-promo__lines,
    .dfb-promo__offer-msg {
        font-size: 13px;
    }
    .dfb-promo__off {
        font-size: 9px;
        padding: 2px 5px;
    }
}