
.ticker-install {
    max-width: 740px;
    margin: 2.5rem auto;
    padding: 1.4rem;
    border: 1px solid #665527;
    border-radius: 14px;
    background: #131416;
    color: #eee;
}

.ticker-install h2 {
    color: #d4af37;
    font-family: Oswald, Arial, sans-serif;
    margin-top: 0;
}

.ticker-install p {
    line-height: 1.6;
}

#ticker-install-button {
    border: 0;
    border-radius: 8px;
    padding: .8rem 1rem;
    background: #d4af37;
    color: #111;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

#ticker-install-button[hidden] {
    display: none;
}

#ticker-install-button:focus-visible,
.ticker-install summary:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 3px;
}

.ticker-install-options {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
}

.ticker-install details {
    border: 1px solid #444;
    border-radius: 8px;
    background: #222326;
    padding: .8rem;
}

.ticker-install summary {
    cursor: pointer;
    color: #f0d06d;
    font-weight: 700;
}

.ticker-install details p {
    margin-bottom: 0;
    font-size: .9rem;
}

.ticker-install-note,
#ticker-install-status {
    font-size: .85rem;
    color: #ccc;
}


/* VEGASBASKETBALL_STANDALONE_V1 */

@media (display-mode: standalone) {
    html,
    body {
        min-height: 100%;
        background: #080808;
    }

    #wrap {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    #wrap > header,
    #wrap > footer,
    .ticker-intro,
    .ticker-install,
    .ticker-guide {
        display: none !important;
    }

    .ticker-page {
        max-width: 520px;
        margin: 0 auto;
        padding: 12px;
    }

    .ticker-widget {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 16px;
        box-shadow: none;
    }

    .ticker-widget > * {
        order: 10;
    }

    .ticker-widget-heading {
        order: 0;
        margin-bottom: 8px;
    }

    .ticker-favorites {
        order: 1;
    }

    .ticker-leagues {
        order: 2;
    }

    .ticker-label {
        order: 3;
    }

    .ticker-combobox {
        order: 4;
    }

    .ticker-search-status {
        order: 5;
    }

    #ticker-team {
        order: 6;
    }

    .ticker-tabs {
        order: 7;
    }

    .ticker-content {
        order: 8;
    }

    .ticker-actions {
        order: 9;
    }

    .ticker-credit {
        order: 11;
    }

    .ticker-widget-heading strong {
        font-size: 1.1rem;
    }

    .ticker-widget-heading span:not(.ticker-symbol) {
        font-size: .85rem;
    }

    .ticker-credit a {
        color: #f2d16f;
    }

    @media (max-width: 420px) {
        .ticker-page {
            padding: 8px;
        }

        .ticker-widget {
            padding: 12px;
        }
    }
}

/* VEGASBASKETBALL_COMPACT_FAVORITES_V1 */
@media (display-mode: standalone) {
    .ticker-favorites {
        padding: 12px;
        margin: 0 0 14px;
    }

    .ticker-favorites-header {
        margin-bottom: 10px;
    }

    .ticker-favorites .ticker-favorites-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px 10px;
    }

    .ticker-favorites .ticker-favorite-row {
        display: flex;
        flex: 0 0 170px;
        width: 170px;
        gap: 4px;
        scroll-snap-align: start;
    }

    .ticker-favorites .ticker-favorite-select {
        min-width: 0;
        padding: 9px 8px;
    }

    .ticker-favorites .ticker-favorite-select span {
        font-size: .78rem;
        line-height: 1.35;
    }

    .ticker-favorites .ticker-favorite-select small {
        font-size: .68rem;
    }

    .ticker-favorites .ticker-favorite-remove {
        min-width: 30px;
        width: 30px;
        padding: 0;
    }

    .ticker-favorites .ticker-favorites-empty {
        flex: 0 0 100%;
    }

    .ticker-favorites-status {
        margin-top: 5px;
    }
}

/* VEGASBASKETBALL_FAVORITES_POLISH_V2 */

@media (display-mode: standalone) {
    .ticker-favorites-header h3::after {
        content: "  SWIPE →";
        display: inline-block;
        margin-left: 9px;
        color: #bcbcbc;
        font-family: Roboto, Arial, sans-serif;
        font-size: .62rem;
        font-weight: 400;
        letter-spacing: .02em;
        vertical-align: middle;
    }

    .ticker-favorites .ticker-favorites-list {
        gap: 10px;
        padding: 5px 2px 12px;
        scrollbar-width: thin;
        scrollbar-color: #a58a34 #252629;
    }

    .ticker-favorites .ticker-favorite-row {
        flex: 0 0 195px;
        width: 195px;
        gap: 5px;
    }

    .ticker-favorites .ticker-favorite-select {
        padding: 10px;
        min-height: 62px;
    }

    .ticker-favorites .ticker-favorite-select span {
        font-size: .8rem;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .ticker-favorites .ticker-favorite-remove {
        min-width: 32px;
        width: 32px;
    }

    .ticker-favorites .ticker-favorite-select[aria-pressed="true"] {
        border-color: #e0b83d;
        background: #453717;
        box-shadow: inset 0 0 0 1px #e0b83d;
    }

    .ticker-favorites-status:empty {
        display: none;
    }

    @media (max-width: 380px) {
        .ticker-favorites .ticker-favorite-row {
            flex-basis: 178px;
            width: 178px;
        }

        .ticker-favorites-header h3::after {
            font-size: .58rem;
        }
    }
}


/* VEGASBASKETBALL_STANDALONE_CONTENT_FIT_V1 */
@media (display-mode: standalone) {
    .ticker-page {
        height: auto;
        min-height: 0;
    }

    .ticker-widget {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
    }

    .ticker-content {
        height: auto;
        min-height: 0;
        flex-grow: 0;
    }
}

/* VEGASBASKETBALL_PWA_NAVIGATION_V2 */
@media (display-mode: standalone) and (max-width: 640px) {
    #wrap > nav.main-nav.vb-mobile-enhanced.vb-mobile-open {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 12px;
        padding: 8px;
    }
}

@media (display-mode: standalone) and (min-width: 641px) {
    #wrap > header,
    #wrap > nav.main-nav {
        display: block !important;
    }
}

/* VEGASBASKETBALL_PWA_NAVIGATION_V3 */
@media (display-mode: standalone) and (max-width: 640px) {
    #wrap > nav.main-nav.vb-mobile-enhanced:not(.vb-mobile-open) {
        display: none !important;
    }

    #wrap > nav.main-nav.vb-mobile-enhanced.vb-mobile-open {
        display: block !important;
    }
}

/* VEGASBASKETBALL_LIVE_APP_NAV_V5_PWA_ONLY */
@media (display-mode: standalone) {
/* VEGASBASKETBALL_LIVE_APP_NAV_V4 */
.vb-live-app-page #wrap > header {
    display: none !important;
}

.vb-live-app-page #wrap > .vb-mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 22px;
    border: 1px solid rgba(212,175,55,.55);
    border-radius: 5px;
    background: #171717;
    color: #e1bc49;
    font: 600 1rem 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

.vb-live-app-page #wrap > .vb-mobile-menu-toggle:focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 3px;
}

.vb-live-app-page .vb-mobile-menu-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 21px;
    flex-shrink: 0;
}

.vb-live-app-page .vb-mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced {
    display: none !important;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced.vb-mobile-open {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 12px;
    padding: 8px;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced .nav-list,
.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced.vb-mobile-open .nav-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced .nav-list > li {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid rgba(212,175,55,.18);
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.nav-list > li > a.nav-link,
.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-details > summary.directory-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    min-height: 49px;
    gap: 13px;
    padding: 11px 17px;
    text-align: left;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced .vb-nav-icon {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: #d4af37;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-group,
.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-details {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-details > summary.directory-nav-toggle
> span[aria-hidden="true"] {
    margin-left: 4px !important;
    flex-shrink: 0;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-submenu {
    position: static !important;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 6px 12px 12px 34px;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-details:not([open]) > .directory-submenu {
    display: none !important;
}

.vb-live-app-page #wrap > nav.main-nav.vb-mobile-enhanced
.directory-nav-details[open] > .directory-submenu {
    display: block !important;
}
}

/* VB_LIVE_APP_TICKER_PROMO_V1 */
.vb-live-app-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 12px 0 22px;
    padding: 15px 20px;
    box-sizing: border-box;
    border: 1px solid rgba(212,175,55,.45);
    border-radius: 8px;
    background: linear-gradient(110deg,#18150c,#101010);
}
.vb-live-app-promo p {
    margin: 0;
    color: #e8e8e8;
    line-height: 1.5;
}
.vb-live-app-promo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 5px;
    background: #d4af37;
    color: #101010;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}
.vb-live-app-promo a:hover,
.vb-live-app-promo a:focus-visible {
    background: #f0ce64;
    color: #080808;
}
@media (display-mode: standalone) {
    .vb-live-app-promo {
        display: none !important;
    }
}
@media (max-width:640px) {
    .vb-live-app-promo a {
        width: 100%;
    }
}

/* VB_TICKER_INLINE_INSTALL_V1 */
.vb-ticker-intro-install-link {
    display: inline;
    color: #e1bd4b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: normal;
}

.vb-ticker-intro-install-link:hover,
.vb-ticker-intro-install-link:focus-visible {
    color: #ffe082;
}

@media (display-mode: standalone) {
    .vb-ticker-intro-install-link {
        display: none !important;
    }
}
