.lottery-container-search {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
}

.lottery-left-search,
.lottery-right-search {
    display: flex;
    min-width: 0;
}

.lottery-left-search {
    width: 28%;
    min-width: 236px;
}

.lottery-right-search {
    width: calc(72% - 20px);
    min-width: 0;
}

.lottery-block-view {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15,23,42,.06);
}

.lottery-left-search .lottery-block-view {
    justify-content: flex-start;
}

/* 2026-03-12：Template B 左窄右宽，号码球在桌面端优先单行展示；奖级文案同步压缩。 */
.lottery-last-draw {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: left;
}

.lottery-period-view {
    margin: 0 0 16px;
    color: #607289;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
}

.lottery-type-capsule-row {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.lottery-type-capsule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 8px 18px rgba(15,23,42,.06);
    white-space: nowrap;
}

.lottery-type-capsule.is-current {
    box-shadow: 0 10px 22px rgba(15,23,42,.1);
}

/* 2026-03-18：详情页玩法胶囊统一改为品牌蓝底白字 */
.lottery-type-capsule--keno8,
.lottery-type-capsule--dcb,
.lottery-type-capsule--lotto {
    color: #ffffff;
    background: #c9a96e;
    border-color: #c9a96e;
}

.lottery-numbers-view {
    margin: 0 0 18px;
    line-height: 1.9;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.lottery-numbers-view::-webkit-scrollbar {
    display: none;
}

.lottery-amounts-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    color: #334155;
}

.lottery-amounts-view p {
    margin: 0;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    line-height: 1.65;
    font-weight: 500;
}

.lottery-amounts-view p strong {
    color: #0f172a;
    font-weight: 600;
}

.prize-item-view {
    margin-top: 0;
}

.prize-item-view p {
    margin: 0;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e6edf6;
    border-radius: 16px;
    line-height: 1.65;
    color: #415268;
    font-size: 13px;
    font-weight: 500;
}

.prize-item-view p strong {
    color: #0f172a;
    font-weight: 600;
}

.fl-usd-rate-note {
    margin: 0;
    padding: 14px 16px;
    font-size: 11px;
    line-height: 1.7;
    color: #52637a;
    background: #f8fbff;
    border: 1px solid #dbe4ef;
    border-radius: 18px;
}

.fl-countdown-note {
    margin-top: 0;
}

.fl-note-badge-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #FF5C15;
    color: #ffffff;
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    margin-right: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

.ssq-red-ball,
.ssq-blue-ball,
.dlt-red-ball,
.dlt-blue-ball,
.green-ball-keno8-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(15,23,42,.08);
}

.ssq-red-ball {
    background-color: #FF2752;
}

.ssq-blue-ball {
    background-color: #267aff;
}

.dlt-red-ball {
    background-color: #FFA500;
}

.dlt-blue-ball {
    background-color: #00b08c;
}

.green-ball-keno8-view {
    background-color: #00b08c;
}

.countdown-container-a {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    margin-bottom: 10px;
}

.countdown-container-b {
    width: 100%;
    display: flex;
    justify-content: center;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.fl-countdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.countdown-values {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.countdown-values span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 52px;
    padding: 0 10px;
    background: #f5f8fc;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    text-align: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #c9a96e;
    box-shadow: 0 10px 22px rgba(15,23,42,.04);
}

.countdown-units {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.countdown-units span {
    min-width: 56px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #7b8ba1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.countdown-divider {
    border: none;
    border-top: 1px solid #e5edf7;
    margin: 16px 0;
    width: 100%;
}

.fl-fx-module {
    width: 100%;
    text-align: center;
    padding: 2px 0;
}

.fl-fx-title {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #0f172a;
}

.fl-fx-date {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.5;
    color: #7b8ba1;
    font-weight: 500;
}

.fl-fx-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    column-gap: 12px;
    row-gap: 8px;
    width: 100%;
}

.fl-fx-flag {
    font-size: 21px;
    line-height: 1;
}

.fl-fx-mid {
    font-size: 12px;
    color: #607289;
    font-weight: 500;
}

.fl-fx-arrow {
    font-size: 14px;
}

.fl-fx-currency {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
}

.fl-fx-rate {
    color: #c9a96e;
    font-weight: 700;
}

@media screen and (max-width: 900px) {
    .lottery-container-search {
        flex-direction: column;
        gap: 18px;
    }

    .lottery-left-search,
    .lottery-right-search {
        width: 100%;
        min-width: 0;
    }

    .lottery-left-search .lottery-block-view {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 767px) {
    .lottery-numbers-view {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 6px;
    }

    .ssq-red-ball,
    .ssq-blue-ball,
    .dlt-red-ball,
    .dlt-blue-ball,
    .green-ball-keno8-view {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }

    .lottery-block-view {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .lottery-last-draw {
        font-size: 18px;
    }

    .lottery-period-view {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .lottery-type-capsule-row {
        margin-bottom: 10px;
    }

    .lottery-type-capsule {
        min-height: 26px;
        padding: 0 11px;
        font-size: 11px;
    }

    .countdown-values {
        gap: 8px;
    }

    .countdown-values span {
        min-width: 48px;
        min-height: 46px;
        font-size: 16px;
        border-radius: 14px;
    }

    .countdown-units {
        gap: 8px;
    }

    .countdown-units span {
        min-width: 48px;
        font-size: 12px;
    }

    .ssq-red-ball,
    .ssq-blue-ball,
    .dlt-red-ball,
    .dlt-blue-ball,
    .green-ball-keno8-view {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
        margin-right: 5px;
    }

    .lottery-amounts-view p,
    .prize-item-view p,
    .fl-usd-rate-note {
        padding: 12px 13px;
        border-radius: 14px;
    }
}
