



    /*

       TODAY'S BETS



       The original runtime installer placed the button directly into

       the hero when .hero-actions was not present. Give it proper

       spacing while JS moves it beside ASK.

    */



    #dailyBetsLaunch {

        flex: 0 0 auto;

        height: 58px;

        min-width: 160px;

        margin: 0 !important;

        padding: 0 20px;

        justify-content: center;

        white-space: nowrap;

    }



    .daily-bets-ask-row {

        display: flex !important;

        align-items: stretch !important;

        gap: 12px !important;

    }



    .daily-bets-ask-row > input,

    .daily-bets-ask-row > textarea {

        flex: 1 1 auto;

        min-width: 0;

    }



    /*

       Analyst history loading state.

    */



    .analyst-history-loading,

    .analyst-history-empty {

        border: 1px solid var(--border);

        border-radius: 14px;

        padding: 24px;

        color: var(--muted);

        background: var(--panel);

    }








    #homeNextBet {

        width: 100%;

        margin-top: 22px;

        margin-bottom: 34px;

    }



    #homeNextBet[hidden] {

        display: none !important;

    }



    .home-next-bet-card {

        position: relative;

        width: 100%;

        box-sizing: border-box;



        border: 1px solid var(--border);

        border-left: 4px solid var(--accent);



        border-radius: 16px;



        background:

            linear-gradient(

                90deg,

                rgba(168,255,35,0.035),

                rgba(168,255,35,0)

            ),

            var(--panel);



        padding: 18px 20px;



        cursor: pointer;



        transition:

            border-color 0.18s ease,

            transform 0.18s ease,

            background 0.18s ease;

    }



    .home-next-bet-card:hover {

        border-color: var(--accent);

        transform: translateY(-1px);

    }



    .home-next-bet-top {

        display: flex;

        justify-content: space-between;

        align-items: center;

        gap: 16px;

        margin-bottom: 12px;

    }



    .home-next-bet-label {

        color: var(--accent);

        font-size: 12px;

        line-height: 1;

        font-weight: 950;

        letter-spacing: 0.14em;

    }



    .home-next-bet-countdown {

        color: var(--accent);

        font-size: 13px;

        font-weight: 950;

        white-space: nowrap;

    }



    .home-next-bet-main {

        display: grid;

        grid-template-columns:

            minmax(130px, 0.8fr)

            minmax(240px, 2fr)

            auto;



        gap: 22px;

        align-items: center;

    }



    .home-next-bet-race {

        color: var(--muted);

        font-size: 13px;

        font-weight: 900;

        letter-spacing: 0.04em;

        text-transform: uppercase;

    }



    .home-next-bet-time {

        display: block;

        margin-top: 4px;



        color: #fff;

        font-size: 13px;

        font-weight: 900;

    }



    .home-next-bet-horse {

        color: #fff;

        font-size: 20px;

        line-height: 1.15;

        font-weight: 950;

    }



    .home-next-bet-meta {

        margin-top: 6px;



        color: var(--muted);

        font-size: 12px;

        font-weight: 900;

        letter-spacing: 0.03em;

        text-transform: uppercase;

    }



    .home-next-bet-price-wrap {

        text-align: right;

        min-width: 90px;

    }



    .home-next-bet-price-label {

        color: var(--muted);

        font-size: 10px;

        font-weight: 900;

        letter-spacing: 0.08em;

    }



    .home-next-bet-price {

        margin-top: 3px;



        color: #fff;

        font-size: 25px;

        line-height: 1;

        font-weight: 950;

    }



    .home-next-bet-reason {

        margin-top: 14px;

        padding-top: 12px;



        border-top: 1px solid var(--border);



        color: var(--muted);

        font-size: 13px;

        line-height: 1.45;

    }



    .home-next-bet-reason strong {

        color: var(--accent);

        font-size: 11px;

        letter-spacing: 0.08em;

    }



    .home-next-bet-footer {

        display: flex;

        justify-content: flex-end;



        margin-top: 12px;



        color: var(--accent);

        font-size: 11px;

        font-weight: 950;

        letter-spacing: 0.06em;

    }



    @media (max-width: 700px) {



        #homeNextBet {

            margin-top: 18px;

            margin-bottom: 28px;

        }



        .home-next-bet-card {

            padding: 16px;

        }



        .home-next-bet-main {

            grid-template-columns:

                1fr

                auto;



            gap: 12px;

        }



        .home-next-bet-runner {

            grid-column: 1 / -1;

            grid-row: 2;

        }



        .home-next-bet-price-wrap {

            grid-column: 2;

            grid-row: 1;

        }



        .home-next-bet-horse {

            font-size: 19px;

        }

    }



