/* The copied Tailwind header uses cascade layers, unavailable on older TVs. */
@supports not (color: oklch(1 0 0)) {
    html[data-tv="true"] #tailwind-header {
        font-family: Manrope, Arial, sans-serif;
        font-size: 14px;
        color: #121023;
    }

    html[data-tv="true"] #tailwind-header *,
    html[data-tv="true"] #tailwind-header *::before,
    html[data-tv="true"] #tailwind-header *::after {
        box-sizing: border-box;
    }

    html[data-tv="true"] #tailwind-header > header {
        display: none;
    }

    html[data-tv="true"] #tailwind-header > div.fixed {
        display: none;
    }

    html[data-tv="true"] #tailwind-header > header:first-child {
        display: flex;
        padding: 18px;
    }

    html[data-tv="true"] #tailwind-header .containeroid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }

    html[data-tv="true"] #tailwind-header .containeroid > div,
    html[data-tv="true"] #tailwind-header nav ul {
        display: flex;
        align-items: center;
    }

    html[data-tv="true"] #tailwind-header nav {
        margin-left: 40px;
    }

    html[data-tv="true"] #tailwind-header nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    html[data-tv="true"] #tailwind-header a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 12px 16px;
        border-radius: 14px;
        color: inherit;
        font-weight: 600;
        text-decoration: none;
    }

    html[data-tv="true"] #tailwind-header a[data-active="true"] {
        color: #4697fa;
    }

    html[data-tv="true"] #tailwind-header a[href="/auth/login"] {
        color: #fff;
        background: #4697fa;
    }

    html[data-tv="true"] #tailwind-header a[data-slot="button"] {
        position: relative;
        margin-left: 12px;
    }

    html[data-tv="true"] #tailwind-header [data-slot="avatar"] {
        display: flex;
        width: 36px;
        height: 36px;
    }

    html[data-tv="true"] #tailwind-header [data-slot="avatar-image"] {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        object-fit: cover;
    }
}

html[data-tv-no-flex-gap="true"]
    [data-tv-flex-gap="row"]
    > *
    + *:not(.ml-auto) {
    margin-left: var(--tv-column-gap, 0px);
}

html[data-tv-no-flex-gap="true"]
    [data-tv-flex-gap="column"]
    > *
    + *:not(.mt-auto) {
    margin-top: var(--tv-row-gap, 0px);
}

html[data-tv-no-flex-gap="true"]
    [data-tv-flex-gap="row-reverse"]
    > *
    + *:not(.mr-auto) {
    margin-right: var(--tv-column-gap, 0px);
}

html[data-tv-no-flex-gap="true"]
    [data-tv-flex-gap="column-reverse"]
    > *
    + *:not(.mb-auto) {
    margin-bottom: var(--tv-row-gap, 0px);
}

html[data-tv-no-flex-gap="true"]
    [data-tv-flex-gap="row"][data-tv-flex-wrap="wrap"]
    > * {
    margin-bottom: var(--tv-row-gap, 0px);
}
