/* EZ2 dedicated redesign v12 — mobile-first, accessible, no side-swipe for three-draw tables */
:root{--ez2-blue:#1559df;--ez2-navy:#0c347e;--ez2-yellow:#ffd52d;--ez2-ice:#eaf2ff}
body{background:#f1f6fd;color:#17253c}
.site-header{background:linear-gradient(125deg,#155bd8,#073887)!important;border-bottom:3px solid var(--ez2-yellow)!important}
.brand-row{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:90px;padding:12px 0}
.ez2-v12-brand{display:flex!important;align-items:center;gap:12px;color:#fff!important;text-decoration:none!important}
.ez2-v12-brand img{width:58px;height:58px;object-fit:contain;flex:0 0 58px}
.ez2-v12-brand strong{display:block;color:#fff;font-size:clamp(22px,2.4vw,33px);line-height:1.05;letter-spacing:-.5px}
.ez2-v12-brand em{font-style:normal;color:#ffda36}
.ez2-v12-brand small{display:block;color:#e6efff;letter-spacing:1.4px;font-size:10px;margin-top:7px;font-weight:800}
.site-header .tagline{color:#fff;font-weight:800}.site-header .tagline span{display:block;font-size:12px;color:#d4e7ff}
.site-header .nav{background:#082f76!important;box-shadow:none}.site-header .nav .wrap{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-top:9px;padding-bottom:9px}
.site-header .nav a{color:#fff!important;border:1px solid #7198dc!important;border-radius:99px;padding:10px 15px!important;font-weight:800!important;background:#17498f!important;line-height:1.2;text-decoration:none!important}
.site-header .nav a:hover,.site-header .nav a:focus-visible{background:#246ee7!important}
.hero{text-align:center;max-width:900px;margin:0 auto;padding:34px 0 15px}
.hero h1{color:#17263e!important;font-weight:900!important;font-size:clamp(31px,4vw,48px)!important;letter-spacing:-1.2px;line-height:1.13}
.hero p{color:#475d78!important}.updated{border:1px solid #c5d9f7}
.ez2-v12-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:12px auto 22px}
.ez2-v12-quick a{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 17px;border:2px solid #9fc0f2;border-radius:12px;background:#fff;color:#124ba8!important;text-decoration:none!important;font-weight:900;font-size:14px;box-shadow:0 2px 0 #d8e4f8}
.ez2-v12-quick a[aria-current=page]{background:linear-gradient(125deg,#4e94ff,#1455d8);border-color:#1557d6;color:#fff!important;box-shadow:0 2px 0 #0b388f}
.notice{border-radius:12px}.results-card,.content-card,.sidebox{border:1px solid #cbdcf3!important;box-shadow:0 7px 22px #0e428511!important}
.card-title{background:linear-gradient(120deg,#1048a9,#226ee8)!important;color:#fff!important;padding:17px 20px!important}
.result-row{grid-template-columns:110px 1fr 90px!important;gap:10px!important;min-height:94px}
.draw-time{font-size:17px!important;font-weight:900!important;color:#0c4ab0!important}
.balls,.ez2-v12-pair{display:inline-flex;align-items:center;justify-content:center;gap:10px;letter-spacing:normal!important}
.ball,.ez2-v12-ball{width:54px;height:54px;min-width:54px;border-radius:50%;background:linear-gradient(145deg,#539aff,#1557d9)!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;letter-spacing:0!important;border:1px solid #1c5bd9;box-shadow:0 3px 7px #0c44902a}
.ez2-v12-pending{font-size:12px;font-weight:800;color:#627792;letter-spacing:0}
.status{font-weight:900!important;font-size:12px!important}
.history{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #d6e3f5}
.history th{background:#103f90!important;color:#fff!important;padding:12px 8px!important}
.history td{background:#fff;vertical-align:middle;padding:10px 7px!important;border-bottom:1px solid #e1eaf7}
.history td:first-child a{font-weight:900;color:#0c4eaa}
.history td .ez2-v12-ball{width:31px;height:31px;min-width:31px;font-size:12px;box-shadow:none}
.history td .ez2-v12-pair{gap:4px;white-space:nowrap}
.ez2-v12-filter{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 18px}
.ez2-v12-filter form{display:grid;grid-template-columns:1fr auto;gap:9px;padding:14px;border:1px solid #cbdcf3;border-radius:14px;background:#fff}
.ez2-v12-filter label{grid-column:1/-1;font-weight:900;color:#143d80}
.ez2-v12-filter input{min-width:0;min-height:46px;padding:9px;border:1px solid #9cb8df;border-radius:9px;font:inherit}
.ez2-v12-filter button{border:0;background:#175bdd;color:#fff;border-radius:9px;font-weight:900;padding:9px 13px;cursor:pointer}
.ez2-v12-month-label{font-weight:900;color:#17458c}
.content-card{overflow-wrap:break-word}.content-card h2{color:#123d81!important}
.site-footer{background:linear-gradient(135deg,#0d3e92,#082e6b)!important;border-top:4px solid #ffd52d}
@media(max-width:760px){
 .brand-row{min-height:72px;padding:10px 0}.ez2-v12-brand img{width:44px;height:44px;flex-basis:44px}.ez2-v12-brand strong{font-size:22px}.ez2-v12-brand small{font-size:8px;letter-spacing:.5px}.site-header .tagline{display:none}
 .site-header .nav .wrap{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:6px;padding:8px 10px}.site-header .nav a{white-space:nowrap;flex:0 0 auto;padding:9px 13px!important;font-size:12px!important}
 .ez2-v12-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ez2-v12-quick a{padding:10px 3px;font-size:12px;min-height:45px}
 .hero{padding:24px 0 10px}.hero h1{font-size:32px!important}.hero p{font-size:16px!important}
 .result-row{display:grid!important;grid-template-columns:70px minmax(0,1fr) 66px!important;gap:4px!important;padding:13px 8px!important;min-height:80px}.draw-time{font-size:14px!important}.status{font-size:10px!important}
 .result-row .ball{width:clamp(37px,11vw,50px);height:clamp(37px,11vw,50px);min-width:0;font-size:clamp(15px,4.4vw,21px)}
 .result-row .balls{gap:6px}.content-card{padding:16px!important}
 /* 4-column historical tables become stacked date cards on phones; no sideways swipe. */
 .history:has(th:nth-child(4)){display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;border:0!important;background:transparent!important}
 .history:has(th:nth-child(4)) thead{display:none!important}
 .history:has(th:nth-child(4)) tbody{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important}
 .history:has(th:nth-child(4)) tbody tr{display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;border:1px solid #c5d9f5!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 3px 12px #15458c12}
 .history:has(th:nth-child(4)) tbody td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid #e1eaf6!important;padding:10px 14px!important;background:#fff!important}
 .history:has(th:nth-child(4)) tbody td:first-child{background:linear-gradient(120deg,#10448f,#2168d4)!important;color:#fff!important;font-size:14px!important;font-weight:900!important}
 .history:has(th:nth-child(4)) tbody td:first-child a{color:#fff!important}
 .history:has(th:nth-child(4)) tbody td:nth-child(2):before{content:'2PM'}
 .history:has(th:nth-child(4)) tbody td:nth-child(3):before{content:'5PM'}
 .history:has(th:nth-child(4)) tbody td:nth-child(4):before{content:'9PM'}
 .history:has(th:nth-child(4)) tbody td:nth-child(n+2):before{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:34px;background:#eaf2ff;color:#1552a7;border-radius:9px;font-weight:900;font-size:13px}
 .history:has(th:nth-child(4)) tbody td .ez2-v12-ball{width:44px;height:44px;min-width:44px;font-size:17px}
 .history:has(th:nth-child(4)) tbody td:last-child{border-bottom:0!important}
 .ez2-v12-filter{grid-template-columns:1fr}.ez2-v12-filter form{grid-template-columns:1fr}.ez2-v12-filter button{min-height:45px}
}
@media(max-width:350px){.history:has(th:nth-child(4)) tbody td .ez2-v12-ball{width:39px;height:39px;min-width:39px}.result-row{grid-template-columns:62px minmax(0,1fr) 57px!important}}
