.game-tabs { flex-wrap: wrap; }
.lottery-check-form { display: grid; gap: 24px; }
.lottery-check-form .ticket-field { min-width: 0; }
.lottery-check-form small { display: block; color: var(--muted); margin-top: 7px; font-size: 12px; }
.lottery-check-form .primary { justify-content: center; width: 100%; }
.section-check-grid { align-items: start; }
.check-explanation p { color: var(--muted); line-height: 1.7; }
.lottery-check-result .draw-meta, .lottery-check-result .check-balls { flex-wrap: wrap; }
.lottery-check-result .check-balls { margin-block: 20px; }
.lottery-check-result .result-summary { flex-wrap: wrap; }
.lottery-check-result .winning-number { letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.lottery-check-result td small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.odds-workspace select { min-width: 0; width: 100%; min-height: 52px; padding: 9px 12px; background: var(--inset); color: var(--text); border: 1px solid #526079; border-radius: 7px; font: inherit; }
.odds-workspace ~ .game-panel { margin-top: 22px; }
#archive-results { scroll-margin-top: 20px; }
.draw-check-action { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
@media(max-width:700px){.lottery-check-result .generic-prizes tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.game-tabs{gap:20px}.game-heading h1{overflow-wrap:anywhere}}

.section-scenario-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:end; }
.section-scenario-fields label { display:block; color:var(--muted); margin-bottom:10px; font-size:14px; }
.section-scenario-fields input { width:100%; min-width:0; height:52px; padding:0 14px; background:var(--inset); color:var(--text); border:1px solid #526079; border-radius:7px; font:inherit; }
.section-scenario-fields .primary { justify-content:center; }
@media(max-width:500px){.section-scenario-fields { grid-template-columns:minmax(0,1fr); }}

.lottery-check-form { max-width: none; }
.lottery-check-form .ticket-submit-row { margin-top: 0; }
.lottery-check-form .ticket-submit-row .primary { width: 235px; margin-left: auto; }
.check-explanation { margin-top: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.check-explanation summary { cursor: pointer; color: var(--text); }
@media(max-width:700px){.lottery-check-form .ticket-submit-row .primary{width:100%}}
