/*
 * 樂透類區塊（今彩539、大樂透、雙贏彩）專用樣式。
 * 版面全部使用 theme-core.css 的共用元件（draw-card、stat-grid、ui-table、ui-tabs…），這裡只補共用元件沒有涵蓋的部分。
 */

/* 手機版內容區左右留白（電腦版外層已是 1000px 置中，不需要） */
body[data-dv="mobile"] .lotto-page { padding: 0 calc(var(--u) * 10) calc(var(--u) * 8); }

/* 球號分佈表：39–49 欄，縮小左右內距讓電腦版不必橫向捲動；第一欄（期數）在橫向捲動時固定；
   命中格上色（選擇器寫得較長是為了蓋過 ui-table 的整列 hover 底色） */
.ui-table.lotto-dist th, .ui-table.lotto-dist td { padding-left: 0; padding-right: 0; min-width: calc(var(--u) * 17); font-family: var(--font-num); font-size: calc(var(--u) * 12); }
.ui-table.lotto-dist .lotto-key { position: sticky; left: 0; z-index: 1; padding: calc(var(--u) * 5) calc(var(--u) * 10); background: #f7f8fa; white-space: nowrap; line-height: 1.35; }
body[data-dv="mobile"] .ui-table.lotto-dist th, body[data-dv="mobile"] .ui-table.lotto-dist td { min-width: calc(var(--u) * 24); }
.ui-table.lotto-dist tbody tr td.is-hit { background: #e6f0ff; color: #1d5fbf; font-weight: 700; }
.ui-table.lotto-dist tbody tr td.is-special { background: #ffe9e9; color: #c53030; font-weight: 700; }
