/* Archivio Lotto - leggibilita ruote e pallini, 29/10/2026 (V1.1). */
.ml-lotto-archive{font-family:Arial,Helvetica,sans-serif;}
.ml-lotto-archive *{box-sizing:border-box;}
.ml-lotto-highlight-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 16px;}
.ml-lotto-highlight-toolbar p{margin:0 0 6px;font-size:14px;color:#254b6b;line-height:1.4;}
.ml-lotto-highlight-toolbar .ml-lotto-selection{font-weight:700;margin:0;color:#0b4576;}
.ml-lotto-highlight-toolbar button:disabled{opacity:.45;cursor:default;}
.ml-lotto-archive .ml-lotto-draw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),430px));justify-content:center;align-items:start;gap:18px;margin:14px 0;}
.ml-lotto-archive .ml-lotto-draw-card{width:100%;min-width:0;max-width:430px;overflow:hidden;border:1px solid #d8e0e6;border-radius:9px;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.10);}
.ml-lotto-archive .ml-lotto-draw-head{padding:3px 12px 3px;text-align:center;background:#0b4676;border-bottom:3px solid #f39200;}
.ml-tools-body .ml-lotto-archive .ml-lotto-draw-head h2{padding:0!important;margin:0!important;line-height:1.05!important;background:transparent!important;border:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:"Arial Black",Arial,Helvetica,sans-serif!important;font-weight:900!important;text-transform:none!important;text-align:center!important;}
.ml-lotto-draw-title{display:block;font-size:25px;letter-spacing:.8px;line-height:1.05;white-space:nowrap;transform:scale(1.3,.85);transform-origin:center bottom;text-shadow:.45px 0 currentColor,-.45px 0 currentColor;}
.ml-lotto-draw-head time{display:block;font-family:Arial,Helvetica,sans-serif;font-size:24px;line-height:1.05;letter-spacing:0;font-weight:900;color:#fff;transform:scaleX(.94);}
.ml-lotto-archive .ml-lotto-draw-body{padding:36px 8px 10px;background:#fff;}
.ml-lotto-archive .ml-lotto-table-wrap{overflow:hidden;border:1px solid #d5d5d5;border-radius:6px;background:#fff;}
.ml-lotto-archive .ml-lotto-table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;border-spacing:0;margin:0!important;font-family:Arial,Helvetica,sans-serif;font-size:14px;}
.ml-lotto-archive .ml-lotto-wheel-col{width:26%;}
.ml-lotto-archive .ml-lotto-table th,.ml-lotto-archive .ml-lotto-table td{box-sizing:border-box;vertical-align:middle;text-align:center;border:1px solid #d5d5d5;padding:0;}
.ml-lotto-archive .ml-lotto-table thead th{height:27px;padding:5px 2px;background:#0b4676!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px;font-weight:900;line-height:16px;border-color:#0a3d68!important;}
.ml-lotto-archive .ml-lotto-table thead th:first-child{text-align:left;padding-left:5px;}
.ml-lotto-archive .ml-lotto-table tbody tr:nth-child(odd){background:#fff;}
.ml-lotto-archive .ml-lotto-table tbody tr:nth-child(even){background:#f4f7fa;}
.ml-tools-body .ml-lotto-archive .ml-lotto-table tbody th.ml-lotto-wheel{background:transparent!important;color:#0b4676!important;-webkit-text-fill-color:#0b4676!important;text-align:left;padding:0 4px;font-size:16px;font-weight:900;white-space:nowrap;line-height:1.2;border-color:#d5d5d5!important;}
.ml-tools-body .ml-lotto-archive .ml-lotto-table tbody td{height:50px;padding:0;background:transparent!important;}
.ml-tools-body .ml-lotto-archive button.ml-lotto-pick{display:flex!important;justify-content:center;align-items:center;width:100%;min-width:0;min-height:49px;margin:0!important;padding:5px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#1e2a36!important;cursor:pointer;touch-action:manipulation;appearance:none;-webkit-appearance:none;font:inherit;}
.ml-tools-body .ml-lotto-archive .ml-lotto-ball{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;min-width:38px;padding:0;border:0;border-radius:50%;background:#dedede!important;color:#1e2a36!important;-webkit-text-fill-color:#1e2a36!important;font-family:Arial,Helvetica,sans-serif;font-size:20px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums;box-shadow:inset 0 -2px 0 rgba(0,0,0,.10);}
.ml-tools-body .ml-lotto-archive .ml-lotto-ball.ml-lotto-ball-gold{background:#d09300!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.ml-lotto-archive .ml-lotto-pick.is-dimmed .ml-lotto-ball{filter:grayscale(1);opacity:.28;}
.ml-lotto-archive .ml-lotto-pick.is-selected .ml-lotto-ball{opacity:1;filter:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0b4676;transform:scale(1.03);}
.ml-lotto-archive .ml-lotto-pick:hover .ml-lotto-ball{box-shadow:0 0 0 2px #0b4676;}
.ml-lotto-archive .ml-lotto-pick:focus-visible{outline:2px solid #0b4676!important;outline-offset:-2px;}
.ml-lotto-archive .ml-lotto-missing{display:inline-flex;align-items:center;justify-content:center;min-height:49px;color:#617285;font-size:20px;}
@media(max-width:420px){
 .ml-lotto-draw-title{font-size:clamp(17px,6.1vw,25px);letter-spacing:.1px;transform:scale(1.26,.85);}
 .ml-lotto-draw-head time{font-size:23px;}
 .ml-lotto-archive .ml-lotto-draw-body{padding-left:6px;padding-right:6px;}
 .ml-tools-body .ml-lotto-archive .ml-lotto-table tbody th.ml-lotto-wheel{font-size:15px;padding-left:4px;padding-right:3px;}
 .ml-lotto-archive .ml-lotto-wheel-col{width:27%;}
 .ml-tools-body .ml-lotto-archive .ml-lotto-table tbody td{height:48px;}
 .ml-tools-body .ml-lotto-archive button.ml-lotto-pick{min-height:47px;padding:5px 0!important;}
 .ml-tools-body .ml-lotto-archive .ml-lotto-ball{width:36px;height:36px;min-width:36px;font-size:19px;}
 .ml-lotto-archive .ml-lotto-missing{min-height:47px;font-size:19px;}
 .ml-lotto-archive .ml-lotto-table thead th{font-size:11px;}
}
@media(max-width:360px){
 .ml-tools-body .ml-lotto-archive .ml-lotto-table tbody th.ml-lotto-wheel{font-size:14px;padding-left:3px;padding-right:2px;}
 .ml-tools-body .ml-lotto-archive .ml-lotto-table tbody td{height:46px;}
 .ml-tools-body .ml-lotto-archive button.ml-lotto-pick{min-height:45px;}
 .ml-tools-body .ml-lotto-archive .ml-lotto-ball{width:34px;height:34px;min-width:34px;font-size:18px;}
 .ml-lotto-archive .ml-lotto-missing{min-height:45px;font-size:18px;}
}
@media(prefers-reduced-motion:reduce){.ml-lotto-archive .ml-lotto-ball{transform:none!important;}}
