/* Explicitly scoped home cards: one header line, one draw line, one compact metadata line. */
.home-draw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}
.home-draw-grid .lottery-card{display:flex;flex-direction:column;gap:9px;min-width:0;padding:15px 16px;border-radius:14px;background:white;box-shadow:0 2px 8px #24262d02;transition:border-color .18s,box-shadow .18s,transform .18s}
.home-draw-grid .lottery-card:hover{border-color:#eac1cb;box-shadow:0 7px 24px #bf193208;transform:translateY(-2px)}
.home-draw-grid .lottery-card .card-top{display:flex;align-items:center;gap:9px;margin:0;min-width:0}
.home-draw-grid .lottery-card-icon{width:32px;height:32px;flex:0 0 32px;grid-column:auto;grid-row:auto}
.home-draw-grid .lottery-card h3{margin:0;min-width:0;font-size:17px;line-height:1.4;font-weight:700;white-space:normal;overflow:visible}
.home-draw-grid .lottery-card .draw-issue{margin:0;font-size:12px;line-height:18px;color:#a51830}
.home-draw-grid .lottery-card .balls{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:0;margin:0;padding:0}
.home-draw-grid .lottery-card .balls>span{flex:0 1 32px;width:32px;max-width:32px;min-width:0;height:auto;min-height:0;aspect-ratio:1;font-size:13px;line-height:1;font-weight:750;box-sizing:border-box}
.home-draw-grid .card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-top:1px;line-height:18px}
.home-draw-grid .card-meta time{font-size:11px;color:#7b7d85;white-space:nowrap}
.home-draw-grid .lottery-card .card-bottom{display:inline-flex;align-items:center;gap:7px;min-width:0;white-space:nowrap;margin:0;padding:0;border:0;font-size:11px;line-height:18px;color:#a51830}
.home-draw-grid .lottery-card .empty-mini{margin:0;min-height:32px;font-size:12px}.home-draw-grid .lottery-card>p.muted{margin:0;font-size:11px}
/* The result panel also keeps every actual number on one row. */
#numbers{display:flex;flex-wrap:nowrap;gap:clamp(3px,.6vw,7px);min-width:0}
#numbers>span{flex:0 1 42px;width:42px;min-width:0;max-width:42px;height:auto;aspect-ratio:1;font-size:clamp(12px,1.8vw,18px);line-height:1}
@media(min-width:1500px){.home-draw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:700px) and (max-width:1049px){.home-draw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.home-draw-grid{grid-template-columns:minmax(0,1fr);gap:10px}.home-draw-grid .lottery-card{padding:12px 13px;gap:7px}.home-draw-grid .lottery-card-icon{width:29px;height:29px;flex-basis:29px}.home-draw-grid .lottery-card h3{font-size:16px}.home-draw-grid .lottery-card .balls{gap:3px}.home-draw-grid .lottery-card .balls>span{flex-basis:29px;width:29px;max-width:29px;font-size:12px}.home-draw-grid .card-meta time,.home-draw-grid .lottery-card .card-bottom{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-draw-grid .lottery-card{transition:none}}
