/* Random number generator */
.rn-out { min-height: 170px; display: grid; place-items: center; text-align: center; padding: 8px 0 4px; outline: none; }
.rn-wait { font-size: 96px; font-weight: 800; color: #2b2d38; line-height: 1; }
.rn-one { font-size: clamp(64px, 18vw, 132px); font-weight: 800; color: var(--accent); line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; max-width: 100%; }
.rn-one.long { font-size: clamp(30px, 8vw, 56px); }
.rn-one.huge { font-size: 18px; font-weight: 700; word-break: break-all; text-align: left; }
.rn-one.rolling { color: var(--muted); }
.rn-desc { text-align: center; min-height: 18px; }
.rn-set { width: 100%; text-align: left; margin-bottom: 10px; }
.rn-set-h { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.rn-out .rz-list-out { justify-content: center; }
.rn-set .rz-list-out { justify-content: flex-start; }
.rn-text { width: 100%; min-height: 200px; font-variant-numeric: tabular-nums; }
.rn-lotto { margin: 0; padding: 0 0 0 28px; display: grid; gap: 8px; text-align: left; width: 100%; }
.rn-lotto li { padding-left: 4px; }
.rn-balls { display: inline-flex; flex-wrap: wrap; gap: 5px; vertical-align: middle; }
.rn-balls.extra { margin-left: 10px; }
.rn-ball { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e9e9ef; color: #111216; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.rn-ball.x { background: var(--accent-2); color: #fff; }
.rn-hist { margin: 8px 0 10px; padding-left: 24px; max-height: 320px; overflow: auto; display: grid; gap: 6px; }
.rn-hist li { overflow-wrap: anywhere; }
.rn-hist-v { font-variant-numeric: tabular-nums; }
.rn-saved { display: inline-flex; align-items: center; }
.rn-big-go { min-width: 200px; min-height: 52px; font-size: 18px; }
#resultPanel { display: grid; gap: 6px; }
#resultPanel .rz-mt { margin-top: 8px; }
#err:empty, #sum:empty { display: none; }
@media (max-width: 860px) { #resultPanel { order: -1; } }
@media (max-width: 860px) { .rn-out { min-height: 120px; } .rn-wait { font-size: 64px; } }
