/* v3.90 shared blue/white lotto palette and winning-ball system */
:root{--dlp-primary:#175bea;--dlp-primary-dark:#123f94;--dlp-primary-light:#eaf2ff;--dlp-border:#bfd3f0}
body .ball,body .digit-ball,body .digit-ball-major,body .four-d-ball,
body .dlp-v383-ball,body .dlp-v390-ball,body .dlp-v382-mini-ball{
 background:linear-gradient(135deg,#5198ff,#175bea)!important;
 color:#fff!important;border:1px solid #1b5ce0!important;
 border-radius:50%!important;font-weight:850!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;line-height:1!important;text-align:center!important;
 box-shadow:0 2px 5px rgba(19,68,150,.17)!important;
}
body .dlp-v390-balls{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:5px!important}
body .dlp-v390-ball{width:34px!important;height:34px!important;min-width:34px!important;font-size:13px!important;padding:0!important}
body .dlp-v390-pending{font-size:13px;color:#63718b}
body .history-numbers.dlp-v390-archive-cell{min-width:0!important}
body .swertres-intent-links a,body .history-link,body .dlp-v383-primary-nav a{
 border-radius:11px!important;font-weight:800!important;
}
body .game-history-table thead th{background:#143f89!important;color:#fff!important}
body .game-history-table tbody tr:nth-child(even){background:#f5f8ff}
body .digit-times>div>span:first-child{font-weight:800!important;color:#174a9d!important}
body .digit-times .digit-balls,body .four-d-balls,body .balls{max-width:100%;justify-content:center}
@media(max-width:767px){
 body .dlp-v357-table.dlp-v384-four-col tbody tr>td:first-child,
 body .dlp-v357-table.dlp-v384-four-col tbody tr>th:first-child{
  flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-start!important;text-align:left!important;
 }
 body .dlp-v357-table.dlp-v384-four-col tbody tr>td:first-child a,
 body .dlp-v357-table.dlp-v384-four-col tbody tr>th:first-child a{
  display:inline!important;writing-mode:horizontal-tb!important;
  word-break:normal!important;white-space:normal!important;width:auto!important;
 }
 body .dlp-v357-table.dlp-v384-four-col tbody tr>td:nth-child(n+2){
  flex-direction:row!important;justify-content:space-between!important;
 }
 body .dlp-v357-table.dlp-v384-four-col .dlp-v383-ball{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;font-size:16px!important}
 body .dlp-v390-balls{gap:4px!important}
 body .dlp-v390-ball{width:clamp(26px,8vw,36px)!important;height:clamp(26px,8vw,36px)!important;min-width:clamp(26px,8vw,36px)!important;font-size:clamp(11px,3.4vw,14px)!important}
 body .game-history-table td,body .game-history-table th{overflow-wrap:normal}
 body .digit-times.page-digit{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .digit-times.page-digit>div{min-width:0!important}
 body .digit-times.page-digit .ball{width:clamp(25px,8vw,40px)!important;height:clamp(25px,8vw,40px)!important;min-width:0!important}
 body .history-table-wrap:not(.dlp-v384-four-col) .game-history-table{width:100%;min-width:0!important;table-layout:auto}
 body .history-table-wrap:not(.dlp-v384-four-col) .game-history-table td{padding:9px 5px!important}
 body .history-table-wrap:not(.dlp-v384-four-col) .dlp-v390-balls{justify-content:flex-start!important}
 body .swertres-intent-links{display:flex;flex-wrap:wrap;gap:8px}
 body .swertres-intent-links a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
@media(max-width:360px){
 body .dlp-v357-table.dlp-v384-four-col .dlp-v383-ball{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important;font-size:14px!important}
}
