.lottery-header {
    width: 100%;
    margin: 8px auto 0;
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
}

.lottery-header__bar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 12px;
    min-height: 40px;
    align-items: center;
}

.lottery-header__title {
    grid-column: 2;
    min-width: 0;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.lottery-header__button {
    box-shadow: none;
}

.lottery-header__button--left {
    grid-column: 1;
    justify-self: start;
}

.lottery-header__button--right {
    grid-column: 3;
    justify-self: end;
}

.lottery-header__button-placeholder {
    display: block;
    width: 40px;
    height: 40px;
    pointer-events: none;
    visibility: hidden;
}

.lottery-header__button-placeholder--left {
    grid-column: 1;
}

.lottery-header__button-placeholder--right {
    grid-column: 3;
}

.lottery-header__button.ui-button:focus-visible {
    outline-color: #fff;
}

.lottery-header__card {
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, #a84e0f 0%, #8d3b06 100%);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 18%),
        0 10px 22px rgb(0 0 0 / 26%);
}

.lottery-header__card-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0 ;
    text-align: center;
    margin-bottom: 12px;
    margin-top: 0;
}

.lottery-header__card-text {
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 0;
    margin-top: 0;
}

.lottery-header__card-title + .lottery-header__card-text {
    margin-top: 12px;
}
