:root {
    --new-app-banner-height: 45px;
    --new-app-bg: var(--c-primary-c);
    --new-app-border: var(--s-black-25);
    --new-app-title-color: var(--c-white);
    --new-app-close-color: var(--c-white);
    --new-app-button-bg: var(--c-emphasis);
    --new-app-button-color: var(--c-black);
    --new-app-button-icon-color: var(--c-black);
    --new-app-android-icon: url(/v1.859/r/images/wazaa/menu/androiddarkmode/Wz_Android_DarkMode.png);
}

/* Download APK banner - mobile web only */
.desktop .new-app-wrapper {
    display: none !important;
}

.mobile-app .new-app-wrapper {
    display: none !important;
}

.new-app-wrapper.hide-popup,
.new-app-wrapper.is-dismissed,
.new-app-wrapper.hidden,
.new-app-wrapper[hidden] {
    display: none !important;
}

.mobile .new-app-wrapper {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background-color: var(--new-app-bg);
    border-bottom: 1px solid var(--new-app-border);
    z-index: 101;
}

.mobile .new-app-wrapper > app-widget-host {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: var(--new-app-banner-height);
    padding: 6px 20px;
    box-sizing: border-box;
}

.mobile .new-app-wrapper > app-widget-host > .new-app-message,
.mobile .new-app-wrapper > app-widget-host > app-block.new-app-message {
    flex: 1 1 auto;
    min-width: 0;
}

.mobile .new-app-wrapper > app-widget-host > .new-app-button,
.mobile .new-app-wrapper > app-widget-host > app-block.new-app-button,
.mobile .new-app-wrapper > app-widget-host > a.new-app-button,
.mobile .new-app-wrapper > app-widget-host > button.new-app-button {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 10px;
}

.mobile .new-app-wrapper > app-widget-host > .new-app-close,
.mobile .new-app-wrapper > app-widget-host > .b-custom-widget,
.mobile .new-app-wrapper > app-widget-host > #customWidget_dismisssnackbar {
    flex: 0 0 auto;
}

.mobile .new-app-wrapper > app-widget-host > .dismiss-button,
.mobile .new-app-wrapper > app-widget-host > app-block.dismiss-button {
    display: none !important;
}

.mobile .new-app-message,
.mobile .new-app-button,
.mobile .new-app-close,
.mobile .new-app-wrapper .b-custom-widget,
.mobile .new-app-wrapper #customWidget_dismisssnackbar {
    display: flex !important;
    align-items: center;
    min-width: 0;
}

.mobile .new-app-message > app-widget-host {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
}

.mobile .new-app-title > app-widget-host,
.mobile .new-app-button > app-widget-host {
    display: flex !important;
    align-items: center;
}

.mobile .new-app-button > app-widget-host {
    flex-direction: row;
    gap: 6px;
}

.mobile .new-app-wrapper .new-app-title app-widget-host > span,
.mobile .new-app-wrapper .new-app-button-title app-widget-host > span {
    display: inline !important;
}

.mobile .new-app-message {
    flex: none;
    min-width: 0;
}

.mobile .new-app-title,
.mobile .new-app-title > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    color: var(--new-app-title-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile .new-app-button,
.mobile .new-app-wrapper a.new-app-button,
.mobile .new-app-wrapper button.new-app-button,
.mobile .new-app-wrapper .get-app-button,
.mobile .new-app-wrapper .new-app-get-app {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 14px;
    border: 0;
    border-radius: var(--r-border-radius-large);
    background-color: var(--new-app-button-bg);
    color: var(--new-app-button-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mobile .new-app-button-title {
    color: var(--new-app-button-color);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.mobile .new-app-button-title a,
.mobile .new-app-button-title a.link {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.mobile .new-app-button-title a:hover,
.mobile .new-app-button-title a:active,
.mobile .new-app-button-title a:focus,
.mobile .new-app-button-title a:visited {
    color: inherit;
    text-decoration: none;
}

.mobile .new-app-android-logo {
    display: inline-block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background-image: var(--new-app-android-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.mobile .new-app-android-logo img,
.mobile .new-app-android-logo .bif-ot-android,
.mobile .new-app-android-logo .bif-ot-android:before {
    display: none !important;
}

/* Close button injected by dismisssnackbar.js */
.mobile .new-app-wrapper #customWidget_dismisssnackbar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 32px;
    min-height: 32px;
}

.mobile .new-app-wrapper #customWidget_dismisssnackbar button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.mobile .new-app-wrapper #customWidget_dismisssnackbar button::before {
    content: "\00D7";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: var(--new-app-close-color);
}

/* Push fixed header down while banner is visible */
.mobile:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .header {
    top: var(--new-app-banner-height) !important;
}

.mobile:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .body {
    margin-top: calc(var(--mobile-header) + var(--new-app-banner-height)) !important;
}

.mobile:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .body.header-menu {
    margin-top: calc(120px + var(--new-app-banner-height)) !important;
}

/* Push left navigation menu down while banner is visible */
#root:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .mobile-navigation-view-left,
html.mobile-cls:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) #root .mobile-navigation-view-left,
body:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .mobile-navigation-view-left,
.mobile:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .mobile-navigation-view-left {
    top: calc(var(--mobile-header) + var(--new-app-banner-height)) !important;
    height: calc(100% - (var(--mobile-header) + var(--new-app-banner-height) + var(--bottom-nav))) !important;
}

/* Push search popup down while banner is visible */
#root:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup,
html.mobile-cls:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup,
body:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup,
.mobile:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup {
    top: calc(var(--mobile-header) + var(--new-app-banner-height)) !important;
    height: calc(100% - (var(--mobile-header) + var(--new-app-banner-height) + var(--bottom-nav))) !important;
}

#root:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup .sports-search .ui-autocomplete-panel,
html.mobile-cls:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup .sports-search .ui-autocomplete-panel,
body:has(.new-app-wrapper:not(.hidden):not(.hide-popup):not(.is-dismissed):not([hidden])) .search-popup .sports-search .ui-autocomplete-panel {
    top: calc(var(--mobile-header) + var(--new-app-banner-height)) !important;
}

.mobile .header,
.mobile .body,
#root .mobile-navigation-view-left,
.search-popup {
    transition: top 0.25s ease, margin-top 0.25s ease, height 0.25s ease;
}
