/* Preserve the original Newapp homepage geometry; adapt Homeweb's draw markup. */
.draw-numbers > .ball { display: grid; justify-items: center; gap: 4px; width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; }
.draw-numbers > .ball > b { display: grid; place-items: center; width: clamp(44px, 9.6vw, 62px); height: clamp(44px, 9.6vw, 62px); border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(0,0,0,.16); font-size: clamp(17px, 4.2vw, 24px); line-height: 1; }
.draw-numbers > .ball > small { color: #333; line-height: 1.1; font-size: 12px; font-weight: 400; white-space: nowrap; }
.draw-numbers .ball-red > b { background: linear-gradient(#ff6969, #ca1010); }
.draw-numbers .ball-blue > b { background: linear-gradient(#5aa7ff, #0f63cf); }
.draw-numbers .ball-green > b { background: linear-gradient(#55cb87, #06914b); }
.draw-numbers :is(.ball-pending,.ball-sealed) > b { border: 1px solid #e4c76a; background: linear-gradient(#fffdf2,#f1f3f6); color: #6b7280; box-shadow: inset 0 -5px 10px rgba(0,0,0,.08); }
.draw-status { color: var(--muted); font-size: 12px; }
.draw-status > :not([hidden]) { margin-right: 8px; }
.home-feed-section { counter-reset: reference-article; min-width: 0; }
.reference-title-list a { counter-increment: reference-article; }
.reference-sequence::before { content: counter(reference-article); }
.home-reference-tables { min-width: 0; }
.reference-parity,.reference-blue { color: #3366ff; }
.reference-red { color: #e32626; }
.reference-green { color: #14953f; }
[data-element="金"] { color: #d6a900; }
[data-element="木"] { color: #199447; }
[data-element="水"] { color: #1677d2; }
[data-element="火"] { color: #e86b00; }
[data-element="土"] { color: #9b7a00; }
@media (min-width: 900px) { .draw-numbers > .ball > b { width: 62px; height: 62px; } }
@media (max-width: 360px) {
  .draw-title { grid-template-columns: minmax(82px,1fr) auto minmax(110px,1fr); gap: 4px; }
  .draw-title p { gap: 3px; font-size: 11px; }
  .draw-numbers > .ball > b { width: min(44px,100%); height: auto; aspect-ratio: 1; }
}
