/* Scoped to statistics; no external fonts, chart libraries, or homepage layout changes. */
.lt-view-switch{display:flex;gap:4px;margin:12px 12px 0;padding:4px;background:#eaecef;border-radius:12px}
.lt-view-switch button{flex:1;min-height:38px;border:0;border-radius:9px;background:transparent;color:#626b79;font-size:14px;font-weight:600;cursor:pointer}
.lt-view-switch button[aria-pressed=true]{color:#c72030;background:#fff;box-shadow:0 2px 5px #14233b0b}
#page-lottery-stats.lt-show-trends #lsTablePanel,#page-lottery-stats.lt-show-trends #lsSkeleton,#page-lottery-stats.lt-show-trends #lsPeriodControl{display:none!important}
.lt-panel[hidden],.lt-panel [hidden]{display:none!important}
.lt-panel{padding:12px;color:#273246;font:13px/1.5 system-ui,-apple-system,"PingFang SC",sans-serif}
.lt-panel *{box-sizing:border-box}
.lt-panel button,.lt-panel select{font:inherit;cursor:pointer;touch-action:manipulation}
.lt-panel button:focus-visible,.lt-panel select:focus-visible,.lt-scroll:focus-visible{outline:2px solid #c82033;outline-offset:2px}
.lt-card{background:#fff;border:1px solid #eceef2;border-radius:16px;margin-bottom:12px;padding:14px;box-shadow:0 2px 8px #1d293902}
.lt-eyebrow{margin:0 0 4px;color:#b32637;font-size:10px;font-weight:750;letter-spacing:1.5px}
.lt-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.lt-heading h2,.lt-heading h3{margin:0;font-size:17px;font-weight:750;letter-spacing:-.3px}
.lt-heading h3{font-size:14px}
.lt-subtitle{margin:5px 0 13px;color:#84909f;font-size:11px}
.lt-refresh{border:1px solid #f2dce0;border-radius:8px;background:#fff7f8;color:#b62135;padding:5px 9px;white-space:nowrap;font-size:11px!important}
.lt-refresh:disabled{opacity:.5;cursor:wait}
.lt-controls{display:flex;gap:8px;align-items:center;margin-top:10px}
.lt-periods{display:flex;flex:1;gap:3px;padding:3px;background:#f4f5f7;border-radius:9px}
.lt-periods button{flex:1;min-height:36px;padding:6px 2px;border:0;background:transparent;border-radius:7px;color:#737d8b;white-space:nowrap;font-size:12px}
.lt-periods button[aria-pressed=true]{background:#fff;color:#c52236;font-weight:700;box-shadow:0 1px 4px #0000000b}
.lt-scope-caption{display:flex;justify-content:space-between;gap:8px;margin:12px 0 7px;font-size:12px;color:#546174}
.lt-scope-caption span{color:#8b94a2;font-size:11px}
.lt-sides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.lt-sides button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:6px 2px;border:1px solid #e5e8ee;border-radius:10px;background:#fff;color:#687589}
.lt-sides strong{font-size:14px;font-weight:600}
.lt-sides small{font-size:10px}
.lt-sides button[aria-pressed=true]{color:#bd2437;background:#fff1f3;border-color:#e99ba8;box-shadow:inset 0 0 0 1px #e99ba8}
.lt-dimensions{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.lt-dimensions button{flex:1 0 21%;min-height:40px;border:1px solid #e5e8ee;border-radius:10px;background:#fff;color:#6c7787;padding:7px 10px;font-size:13px}
.lt-dimensions button[aria-pressed=true]{color:#bd2437;background:#fff1f3;border-color:#efb9c2;font-weight:700}
.lt-range{color:#697587;font-size:11px;overflow-wrap:anywhere;margin:8px 0 0}
.lt-status{margin:8px 0 0;color:#727e90;font-size:11px;min-height:17px}
.lt-status.lt-warning{color:#9d640d}
.lt-metrics{display:flex;flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;color:#7a8595;font-size:12px}
.lt-metrics b{color:#344259;font-size:14px;font-variant-numeric:tabular-nums}
.lt-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.lt-groups button{min-height:36px;border:1px solid #e6e8ed;background:#fff;color:#687589;padding:6px 4px;border-radius:7px;font-size:12px}
.lt-groups button[aria-pressed=true]{color:#bd2437;border-color:#efb9c2;background:#fff5f6;font-weight:700}
.lt-chart-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 7px;align-items:center;margin:0 0 10px}
.lt-chart-caption h3{margin:0;font-size:14px;font-weight:700}
.lt-chart-caption span{font-size:11px;color:#8b94a2}
.lt-history-card{padding:14px 0 12px;overflow:hidden}
.lt-history-card>.lt-chart-caption,.lt-history-card>.lt-group-note,.lt-history-card>.lt-selection,.lt-history-card>.lt-legend{margin-left:12px;margin-right:12px}
.lt-group-note{font-size:11px;color:#798698;margin-top:0;margin-bottom:10px}
.lt-selection{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;background:#fff3f5;border-radius:8px;padding:7px 8px;color:#b7283b;font-size:12px;margin-bottom:8px}
.lt-selection strong,.lt-selection span{display:block}
.lt-selection strong{font-weight:600}
.lt-selection span{font-size:10px;color:#87636a;margin-top:2px}
.lt-selection-idle{color:#61718a;background:#f6f8fb}
.lt-selection-idle span{color:#8793a4}
.lt-selection button{flex-shrink:0;border:0;background:transparent;color:#b7283b;min-height:36px;padding:4px;font-size:11px}
.lt-frequency{display:flex;gap:5px;min-width:100%;height:131px;align-items:stretch}
.lt-bar-button{flex:1;min-width:22px;display:flex;flex-direction:column;align-items:center;padding:0 1px;border:0;border-radius:6px;background:transparent;color:#727c8b;font-size:12px!important}
.lt-bar-button[aria-pressed=true]{background:#fff0f2;color:#bd2437}
.lt-bar-count{height:17px;color:#4e5a6d;font-variant-numeric:tabular-nums}
.lt-bar-track{width:100%;max-width:23px;flex:1;display:flex;align-items:flex-end;background:#f5f6f9;border-radius:4px;overflow:hidden}
.lt-bar-fill{display:block;width:100%;min-height:0;border-radius:4px 4px 0 0;background:#dc5364}
.lt-bar-label{padding-top:7px;white-space:nowrap}
/* Like the summary list, the page owns all vertical scrolling. Fitting charts
   must not retain an elastic X scroller. Enable X only after measuring overflow. */
.lt-scroll{overflow-x:hidden;overflow-y:hidden;overscroll-behavior-x:none;overscroll-behavior-y:auto;touch-action:pan-y pinch-zoom;scrollbar-width:thin}
.lt-scroll.lt-can-pan-x{overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
/* Continuous history, with no height cap, pagination, or internal vertical scroll. */
.lt-table-scroll{border-top:1px solid #e9ecf1;border-bottom:1px solid #e9ecf1;container-type:inline-size}
.lt-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;text-align:center;table-layout:fixed}
/* 49 columns use the same (viewport - issue column) / 10 width as 01–10.
   The inline minimum retains the original 22px floor on very narrow screens. */
.lt-table-all-numbers{width:calc(68px + (min(404px,calc(100vw - 26px)) - 68px)*4.9);width:calc(68px + (100cqi - 68px)*4.9)}
.lt-table th,.lt-table td{height:48px;padding:0;border-bottom:1px solid #f0f1f4;border-right:1px solid #f2f3f6;white-space:nowrap;font-weight:400}
.lt-table thead th{background:#f3f5f8;color:#68768a;font-weight:600;height:42px}
.lt-table th:first-child{width:68px;position:sticky;left:0;z-index:1;background:#fff;color:#59677a;border-right:1px solid #e4e8ee}
.lt-table thead th:first-child{z-index:3;background:#f3f5f8}
.lt-table thead small{display:block;font-size:10px;font-weight:400;color:#939dab}
.lt-col-button{width:100%;height:40px;border:0;padding:0;background:transparent;color:inherit;font-size:12px!important}
.lt-table tr.lt-row-selected th,.lt-table tr.lt-row-selected td{background:#fff3f4}
.lt-table td.lt-col-selected,.lt-table thead th.lt-col-selected{background:#fff4f5}
.lt-table tbody tr:last-child td,.lt-table tbody tr:last-child th{border-bottom:0}
.lt-issue{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-height:56px;padding:6px 2px;border:0;background:transparent;font-size:11px!important;color:inherit;font-variant-numeric:tabular-nums}
.lt-issue small{font-size:10px;line-height:17px;color:#3476ad;background:#f0f6fc;border-radius:4px;padding:0 3px}
.lt-issue[aria-expanded=true] small{color:#b7283b;background:#ffe5e9}
.lt-result{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;color:#fff;font-size:10px;font-weight:600}
.lt-dot{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 1px;border-radius:50%;color:#fff;background:#d84559;font-size:12px;font-weight:600}
.lt-dot sup{position:absolute;top:-2px;right:-3px;background:#fff;color:#59677a;border:1px solid #dbe1ea;border-radius:6px;padding:0 2px;font-size:8px;line-height:11px}
.lt-table td:last-child .lt-dot sup{right:0}
.lt-red{background:#df4b5b}.lt-blue{background:#448bd1}.lt-green{background:#33987c}.lt-neutral{background:#7d8ba3}
.lt-miss{color:#c5cad3}.lt-unknown{color:#b28231}
.lt-legend{font-size:10px;color:#8b94a2;margin:9px 0 0;line-height:1.8}
.lt-table .lt-detail-row>td{padding:0;text-align:left;white-space:normal;background:#fff8f9}
/* Keep expanded details within the visible width even in the 49-column view.
   Viewport fallback serves older WebKit without container units. */
.lt-detail{position:sticky;left:0;width:min(100%,404px,calc(100vw - 26px));width:100cqi;max-width:100%;background:#fff8f9;padding:12px}
.lt-detail .lt-heading h3{font-size:12px}
.lt-detail-close{min-width:36px;min-height:36px;border:0;background:transparent;color:#9099a5;padding:3px 7px;font-size:18px!important}
.lt-detail time{display:block;font-size:10px;color:#8791a0;margin:4px 0 8px}
.lt-balls{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.lt-ball-item{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;color:#8b94a2}
.lt-ball-item .lt-dot{width:27px;height:27px;font-size:11px}
.lt-detail-note{font-size:10px;color:#8791a0;margin:8px 0 0}
.lt-notice{font-size:10px;color:#9199a6;line-height:1.8;margin:0;padding:0 3px 10px}
.lt-empty{padding:28px 12px;text-align:center;color:#929baa;font-size:12px}
.lt-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){.lt-panel *{scroll-behavior:auto!important}}
