/* 开奖卡片是独立组件，红蓝分组由模板数据决定，样式不承载业务判断。 */
.lottery-card-result {
    overflow: hidden;
    min-width: 0;
    background: #ffffff;
    border: 4px solid #d4b88f;
    border-radius: 16px;
}

.lottery-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 98px;
    padding: 22px 32px;
    background: #fdfbf8;
    border-bottom: 2px solid #e8e0d5;
}

.lottery-card-name {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.lottery-card-period {
    color: #696969;
    font-size: 28px;
    line-height: 1.2;
}

.lottery-card-period strong {
    color: #dc3027;
    font-weight: 700;
}

.lottery-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 158px;
    padding: 32px;
}

.lottery-balls-row {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lottery-ball {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 2px 3px 5px rgb(0 0 0 / 22%);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.lottery-ball-red { background: #df322e; }
.lottery-ball-blue { background: #1875cc; }

.lottery-card-meta {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.lottery-card-date { font-size: 30px; line-height: 1; }

.lottery-card-view-hint {
    color: #126dcc;
    font-size: 24px;
    line-height: 1;
    text-decoration: underline;
}

.lottery-card-empty {
    margin: 0;
    padding: 48px 32px;
    color: #6a6a6a;
    font-size: 18px;
}

@media (max-width: 1100px) {
    .lottery-card-header { min-height: 78px; padding: 18px 22px; }
    .lottery-card-name { font-size: 24px; }
    .lottery-card-period { font-size: 22px; }
    .lottery-card-body { min-height: 132px; padding: 24px 22px; }
    .lottery-balls-row { gap: 10px; }
    .lottery-ball { width: 52px; height: 52px; font-size: 26px; }
    .lottery-card-date { font-size: 24px; }
    .lottery-card-view-hint { font-size: 20px; }
}

@media (max-width: 768px) {
    .lottery-card-body { align-items: flex-start; flex-direction: column; }
    .lottery-card-meta { width: 100%; flex-direction: row; justify-content: space-between; }
}

@media (max-width: 420px) {
    .lottery-card-header { gap: 8px; padding: 14px 16px; }
    .lottery-card-name { font-size: 20px; }
    .lottery-card-period { font-size: 18px; }
    .lottery-card-body { padding: 20px 16px; }
    .lottery-balls-row { gap: 7px; }
    .lottery-ball { width: 40px; height: 40px; font-size: 20px; }
    .lottery-card-date { font-size: 20px; }
    .lottery-card-view-hint { font-size: 16px; }
}
