/* LG webOS browsers use the pre-studio layout and conservative rendering. */
html[data-lg-webos="true"] body {
    background-color: #070b0f;
    background-image: none;
}

html[data-lg-webos="true"] .background-glow {
    display: none;
}

html[data-lg-webos="true"] .glass-header {
    position: relative;
    top: auto;
    padding: 14px 0;
    background: #101721;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html[data-lg-webos="true"] .header-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
}

html[data-lg-webos="true"] .dock-brand-row {
    display: block;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}

html[data-lg-webos="true"] .logo {
    min-height: 42px;
}

html[data-lg-webos="true"] .logo-label {
    display: inline;
}

html[data-lg-webos="true"] .desktop-nav-toggle,
html[data-lg-webos="true"] .sports-command-rail,
html[data-lg-webos="true"] .mobile-menu-btn {
    display: none !important;
}

html[data-lg-webos="true"] .desktop-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 900px;
    flex: 1 1 900px;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: auto;
    max-width: none;
    padding: 5px;
    overflow-x: auto;
    background: #151e2b;
}

html[data-lg-webos="true"] .desktop-nav a {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
}

html[data-lg-webos="true"] .desktop-nav .brand-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 7px;
    overflow: hidden;
    border-radius: 5px;
    vertical-align: middle;
}

html[data-lg-webos="true"] .desktop-nav .brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

html[data-lg-webos="true"] .global-search {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    order: 3;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 520px;
    flex: 1 1 520px;
    width: auto;
    max-width: none;
}

html[data-lg-webos="true"] .header-actions {
    -webkit-box-ordinal-group: 5;
    -webkit-order: 4;
    order: 4;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

html[data-lg-webos="true"] main,
html[data-lg-webos="true"] footer,
html[data-lg-webos="true"] .app-update-notice {
    margin-left: 0 !important;
}

html[data-lg-webos="true"] #sports-view.app-view.active {
    display: block;
    padding: 0;
}

html[data-lg-webos="true"] #sports-view > section {
    grid-column: auto;
}

html[data-lg-webos="true"] .container,
html[data-lg-webos="true"] #sports-view > section .container {
    width: 100%;
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 28px;
    padding-left: 28px;
}

html[data-lg-webos="true"] .section-padding {
    padding-top: 44px;
    padding-bottom: 44px;
}

html[data-lg-webos="true"] .grid-layout,
html[data-lg-webos="true"] .ott-grid,
html[data-lg-webos="true"] .score-grid {
    gap: 18px;
}

html[data-lg-webos="true"] .glass-card,
html[data-lg-webos="true"] .match-card,
html[data-lg-webos="true"] .tving-card,
html[data-lg-webos="true"] .ott-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: none;
}

html[data-lg-webos="true"] a:focus,
html[data-lg-webos="true"] button:focus,
html[data-lg-webos="true"] input:focus,
html[data-lg-webos="true"] select:focus,
html[data-lg-webos="true"] [tabindex]:focus {
    outline: 4px solid #72a5ff;
    outline-offset: 3px;
}

html[data-lg-webos="true"] .access-card {
    width: 420px;
    max-width: calc(100% - 48px);
    background: #121a25;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html[data-lg-webos="true"] .access-gate {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #070b0f;
}

html[data-lg-webos="true"] .access-gate[hidden] {
    display: none !important;
}

html[data-lg-webos="true"] .access-form {
    display: block;
}

html[data-lg-webos="true"] .access-form input,
html[data-lg-webos="true"] .access-form button {
    display: block;
    width: 100%;
    min-height: 54px;
}

html[data-lg-webos="true"] .access-form button {
    margin-top: 12px;
}

@media (max-width: 1280px) {
    html[data-lg-webos="true"] .desktop-nav {
        -webkit-box-ordinal-group: 4;
        -webkit-order: 3;
        order: 3;
        -webkit-box-flex: 1;
        -webkit-flex-basis: 100%;
        flex-basis: 100%;
        width: 100%;
    }

    html[data-lg-webos="true"] .global-search {
        -webkit-box-ordinal-group: 5;
        -webkit-order: 4;
        order: 4;
    }

    html[data-lg-webos="true"] .header-actions {
        -webkit-box-ordinal-group: 6;
        -webkit-order: 5;
        order: 5;
    }
}
