.prize-query-df6j1 {
    padding: 34px 0 64px;
    background: #f3f6f7;
    color: #172027;
}

.prize-query-df6j1__inner {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 0 auto;
}

.prize-query-df6j1 .lottery-type-switcher {
    margin: 0 auto 28px;
}

.prize-query-df6j1__card {
    overflow: hidden;
    background: #fff;
    border-top: 6px solid #c9002b;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(36, 50, 65, .08);
}

.prize-query-df6j1__card-header {
    min-height: 116px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prize-query-df6j1__identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prize-query-df6j1__identity img {
    width: auto;
    height: 48px;
    object-fit: contain;
}

.prize-query-df6j1__identity strong {
    font-size: 24px;
    line-height: 32px;
    white-space: nowrap;
}

.prize-query-df6j1__identity span {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: rgba(0, 0, 0, .6);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.prize-query-df6j1__identity span i {
    font-style: normal;
}

.prize-query-df6j1 .lottery-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prize-query-df6j1 .lottery-action {
    width: 118px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #efcbc1;
    border-radius: 4px;
    background: #f7dfd8;
    color: #bc644a;
    font-size: 20px;
    line-height: 1;
}

.prize-query-df6j1 .lottery-action.is-active {
    border-color: #c9002b;
    background: #c9002b;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 5px 14px rgba(166, 112, 24, .18);
}

.prize-query-df6j1__form {
    width: 1059px;
    max-width: calc(100% - 32px);
    margin: 32px auto 0;
}

.prize-query-df6j1__positions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 515px));
    column-gap: 29px;
    row-gap: 24px;
}

.prize-query-df6j1__position,
.prize-query-df6j1__zodiac {
    position: relative;
    min-width: 0;
    height: 119px;
    margin: 0;
    padding: 22px 28px 24px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
}

.prize-query-df6j1__position legend,
.prize-query-df6j1__zodiac legend {
    position: absolute;
    top: 18px;
    left: 28px;
    padding: 0;
    color: #172027;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

.prize-query-df6j1__position legend i,
.prize-query-df6j1__zodiac legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 12px;
    border-radius: 50%;
    background: #db1e2f;
    vertical-align: 1px;
}

.prize-query-df6j1__digits {
    display: grid;
    grid-template-columns: repeat(10, 40px);
    gap: 8px;
    justify-content: start;
    margin-top: 34px;
}

.prize-query-df6j1__digits button,
.prize-query-df6j1__zodiacs button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid #db1e2f;
    border-radius: 50%;
    background: #fff;
    color: #db1e2f;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.prize-query-df6j1__digits button:hover,
.prize-query-df6j1__digits button.is-selected {
    background: #db1e2f;
    color: #fff;
    box-shadow: 0 3px 8px rgba(219, 30, 47, .18);
}

.prize-query-df6j1__zodiac {
    width: 1059px;
    height: 138px;
    margin-top: 24px;
}

.prize-query-df6j1__zodiac legend i {
    background: #1e66db;
}

.prize-query-df6j1__zodiacs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-top: 34px;
}

.prize-query-df6j1__zodiacs button {
    border-color: #1e66db;
    color: #1e66db;
}

.prize-query-df6j1__zodiacs button:hover,
.prize-query-df6j1__zodiacs button.is-selected {
    background: #1e66db;
    color: #fff;
    box-shadow: 0 3px 8px rgba(30, 102, 219, .18);
}

.prize-query-df6j1__selected {
    width: 1059px;
    height: 129px;
    margin-top: 24px;
    padding: 22px 28px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
}

.prize-query-df6j1__selected strong {
    display: block;
    margin-bottom: 20px;
    color: #172027;
    font-size: 18px;
    line-height: 24px;
}

.prize-query-df6j1__selected [data-selected-balls] {
    min-height: 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #5f6d76;
    font-size: 16px;
}

.prize-query-df6j1__selected-ball {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #db1e2f;
    color: #fff;
    font-size: 16px;
}

.prize-query-df6j1__selected-ball.is-blue {
    background: #1e66db;
}

.prize-query-df6j1__issue {
    width: 1059px;
    height: 64px;
    margin-top: 24px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
    color: #172027;
    font-size: 18px;
    font-weight: 600;
}

.prize-query-df6j1__issue select {
    min-width: 150px;
    border: 0;
    outline: 0;
    background: #fff;
    color: #172027;
    text-align: right;
    font: inherit;
    font-weight: 500;
}

.prize-query-df6j1__actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

.prize-query-df6j1__submit,
.prize-query-df6j1__clear,
.prize-query-df6j1__continue {
    width: 200px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 28px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

.prize-query-df6j1__submit,
.prize-query-df6j1__continue {
    border: 2px solid #c9002b;
    background: #c9002b;
    color: #fff;
}

.prize-query-df6j1__submit:disabled {
    border-color: #d99aaa;
    background: #d99aaa;
    cursor: not-allowed;
}

.prize-query-df6j1__clear {
    border: 2px solid #db1e2f;
    background: #fff;
    color: #db1e2f;
}

.prize-query-df6j1__action-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.prize-query-df6j1__error {
    margin: 12px 0 0;
    color: #c9002b;
    font-size: 16px;
}

.prize-query-df6j1__notice {
    width: 1059px;
    max-width: calc(100% - 32px);
    margin: 28px auto 48px;
    color: #292d33;
    font-size: 16px;
    line-height: 24px;
}

.prize-query-df6j1__result {
    width: 1059px;
    max-width: calc(100% - 32px);
    margin: 48px auto 0;
}

.prize-query-df6j1__result-row {
    min-height: 52px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e4e8ed;
    border-bottom: 0;
    font-size: 18px;
}

.prize-query-df6j1__result-row [data-result-balls] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prize-query-df6j1__result-table {
    overflow: hidden;
    border: 1px solid #e4e8ed;
    border-radius: 8px;
}

.prize-query-df6j1__result-table h2 {
    margin: 0;
    padding: 16px 20px;
    font-size: 24px;
}

.prize-query-df6j1__result-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 18px;
}

.prize-query-df6j1__result-table th,
.prize-query-df6j1__result-table td {
    height: 52px;
    padding: 0 8px;
    border-top: 1px solid #e4e8ed;
}

.prize-query-df6j1__result-table thead th,
.prize-query-df6j1__result-table tr[data-result-total] > * {
    background: #fdf3f5;
    color: #7a1b30;
    font-weight: 500;
}

.prize-query-df6j1__continue {
    margin-top: 24px;
}

.prize-query-df6j1 [hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .prize-query-df6j1 {
        padding: 18px 0 40px;
    }

    .prize-query-df6j1__inner {
        width: calc(100% - 24px);
    }

    .prize-query-df6j1 .lottery-type-switcher {
        margin-bottom: 18px;
    }

    .prize-query-df6j1__card-header {
        min-height: auto;
        padding: 20px 16px;
        align-items: flex-start;
        gap: 18px;
        flex-direction: column;
    }

    .prize-query-df6j1__identity {
        gap: 12px;
    }

    .prize-query-df6j1__identity img {
        height: 42px;
    }

    .prize-query-df6j1__identity strong {
        font-size: 21px;
    }

    .prize-query-df6j1__identity span {
        min-height: 42px;
        font-size: 14px;
    }

    .prize-query-df6j1 .lottery-actions {
        width: 100%;
        gap: 6px;
    }

    .prize-query-df6j1 .lottery-action {
        width: auto;
        height: 42px;
        flex: 1 1 0;
        font-size: 16px;
    }

    .prize-query-df6j1__form {
        width: auto;
        max-width: none;
        margin: 28px 14px 0;
    }

    .prize-query-df6j1__positions {
        grid-template-columns: 1fr;
        column-gap: 0;
        gap: 14px;
    }

    .prize-query-df6j1__position,
    .prize-query-df6j1__zodiac {
        width: auto;
        height: auto;
        min-height: auto;
        padding: 18px 16px 20px;
    }

    .prize-query-df6j1__position legend,
    .prize-query-df6j1__zodiac legend {
        top: 16px;
        left: 16px;
    }

    .prize-query-df6j1__position legend,
    .prize-query-df6j1__zodiac legend {
        font-size: 18px;
    }

    .prize-query-df6j1__digits {
        grid-template-columns: repeat(5, 40px);
        gap: 10px;
    }

    .prize-query-df6j1__zodiacs {
        gap: 10px;
    }

    .prize-query-df6j1__selected {
        width: auto;
        height: auto;
        min-height: 126px;
        padding: 20px 16px;
    }

    .prize-query-df6j1__selected strong,
    .prize-query-df6j1__issue {
        font-size: 18px;
    }

    .prize-query-df6j1__issue {
        width: auto;
        height: 64px;
        padding: 0 16px;
    }

    .prize-query-df6j1__actions {
        gap: 10px;
    }

    .prize-query-df6j1__submit,
    .prize-query-df6j1__clear {
        width: calc(50% - 5px);
        height: 50px;
        font-size: 18px;
    }

    .prize-query-df6j1__notice {
        width: auto;
        max-width: none;
        margin: 22px 14px 32px;
        font-size: 14px;
    }

    .prize-query-df6j1__result {
        width: calc(100% - 28px);
        max-width: none;
        margin-top: 28px;
        overflow-x: auto;
    }

    .prize-query-df6j1__result-table table {
        min-width: 620px;
    }
}
