/* LotteryResults.lk 10.12.0 — additive, site-scoped UX layer.
   No data/API, theme header, WordPress menus or AdSense code is modified. */
.lrlk-v1200-home{--lr-ink:#14223b;--lr-muted:#5b6a81;--lr-border:#dfe7f2;--lr-blue:#2758d6;--lr-surface:#f7f9fe;max-width:1380px!important;margin:18px auto 44px!important;padding:0 16px;color:var(--lr-ink)}
.lrlk-v1200-home,.lrlk-v1200-compact,.lrlk-v1200-compact *,.lrlk-v1200-home *{box-sizing:border-box}
.lrlk-v1200-home .lrlk-v1040-home-hero{grid-template-columns:minmax(0,1.7fr) minmax(240px,.65fr);gap:20px;padding:26px 28px;margin:0 0 14px;border-radius:22px;border-color:#dce5f2;background:linear-gradient(125deg,#edf4ff 0%,#fff 62%,#fff8f2 100%);box-shadow:0 7px 25px rgba(32,53,90,.05)}
.lrlk-v1200-home .lrlk-hero-title{font-size:clamp(30px,3.7vw,48px);line-height:1.12;letter-spacing:-.035em;max-width:820px;margin:10px 0!important}
.lrlk-v1200-home .lrlk-hero-sub{font-size:15px;line-height:1.55;color:#45556b;max-width:660px;margin-bottom:0}
.lrlk-v1200-home .lrlk-live-pill{background:#fff;border:1px solid #dae5f8;color:#284477;font-size:11px}
.lrlk-v1200-home .lrlk-v1040-home-actions{margin-top:20px;gap:8px}
.lrlk-v1200-home .lrlk-v1040-home-actions a{font-size:12px;min-height:38px;padding:8px 13px;border-radius:10px;box-shadow:none}
.lrlk-v1200-home .lrlk-v1040-home-actions a:first-child{background:#fff1e7;border-color:#fed6b4;color:#9a3412}
.lrlk-v1200-home .lrlk-v1040-home-actions a:nth-child(2){background:#eaf1ff;color:#1d4ed8}
.lrlk-v1200-home .lrlk-v1040-home-summary{gap:8px}
.lrlk-v1200-home .lrlk-v1040-home-summary>div{border-radius:13px;padding:13px 14px;box-shadow:none;background:rgba(255,255,255,.94)}
.lrlk-v1200-home .lrlk-v1040-home-summary span{font-size:10px}
.lrlk-v1200-home .lrlk-v1040-home-summary strong{font-size:14px;line-height:1.3}
.lrlk-v1200-home .lrlk-v1040-board-overview{margin:0 0 14px;gap:12px}
.lrlk-v1200-home .lrlk-v1040-board-card{border-radius:16px;padding:14px 16px;box-shadow:0 5px 20px rgba(14,34,67,.045)}
.lrlk-v1200-home .lrlk-v1040-board-card strong{font-size:18px;line-height:1.3}
.lrlk-v1200-home .lrlk-v1040-board-card em{font-size:11px;line-height:1.5}
.lrlk-v1200-home .lrlk-v1040-home-trust{margin-bottom:14px;gap:10px}
.lrlk-v1200-home .lrlk-v1040-home-trust>div{border-radius:12px;background:#fff}
.lrlk-v1200-home .lrlk-v1040-home-trust strong{font-size:12px}
.lrlk-v1200-home .lrlk-v1040-home-trust span{font-size:12px;line-height:1.45}
/* Search deliberately sends established GET parameters to the existing result checker. */
.lrlk-v1200-quick-search{display:grid;grid-template-columns:minmax(160px,1.35fr) minmax(115px,.64fr) minmax(130px,.76fr) minmax(150px,.8fr) auto;gap:10px;align-items:end;border:1px solid var(--lr-border);border-radius:17px;background:#fff;padding:14px 16px;margin:0 0 14px;box-shadow:0 5px 22px rgba(20,34,59,.045)}
.lrlk-v1200-search-copy{min-width:0;align-self:center}
.lrlk-v1200-search-copy strong{display:block;color:var(--lr-ink);font-size:16px;font-weight:850;line-height:1.3}
.lrlk-v1200-search-copy span{display:block;font-size:11px;line-height:1.45;color:var(--lr-muted);margin-top:3px}
.lrlk-v1200-quick-search label{display:block;min-width:0;margin:0}
.lrlk-v1200-quick-search label>span{display:block;font-size:11px;font-weight:800;color:#526079;margin-bottom:5px}
.lrlk-v1200-quick-search select,.lrlk-v1200-quick-search input{display:block;width:100%;height:42px;min-height:42px;border:1px solid #d4dfed;border-radius:10px;background:#fbfcff;padding:8px 9px;color:#182846;font-size:14px;margin:0;box-shadow:none}
.lrlk-v1200-quick-search input:focus,.lrlk-v1200-quick-search select:focus{outline:3px solid #93c5fd;outline-offset:1px}
.lrlk-v1200-quick-search button{min-height:42px;border:1px solid #265ad8;border-radius:10px;background:#265ad8;color:#fff;font-weight:800;font-size:13px;padding:9px 15px;cursor:pointer;white-space:nowrap}
.lrlk-v1200-quick-search button:hover{background:#1e40af}
.lrlk-v1200-home .lrlk-v1040-checker{border-radius:14px;padding:14px 17px!important;margin:0 0 18px}
.lrlk-v1200-home .lrlk-v1040-checker strong{font-size:15px}
.lrlk-v1200-home .lrlk-v1040-checker span{font-size:12px}
.lrlk-v1200-home .lrlk-v1040-result-section{margin:25px 0 28px}
.lrlk-v1200-home .lrlk-v1040-result-head{align-items:center;margin-bottom:14px}
.lrlk-v1200-home .lrlk-v1040-result-head h2{font-size:clamp(23px,2.4vw,30px);line-height:1.2;letter-spacing:-.025em}
.lrlk-v1200-home .lrlk-v1040-result-head p{font-size:12px;line-height:1.55;margin:5px 0 0;max-width:650px}
.lrlk-v1200-home .lrlk-v1040-result-meta span{font-size:12px;color:#5b6a81}
.lrlk-v1200-home .lrlk-v1040-result-meta .lrlk-btn{font-size:12px;border-radius:9px}
.lrlk-v1200-home .lrlk-v1040-tools{gap:12px;margin:26px 0}
.lrlk-v1200-home .lrlk-v1040-tools>a{padding:18px;border-radius:14px;box-shadow:0 4px 17px rgba(14,34,67,.04)}
.lrlk-v1200-home .lrlk-v1040-tools strong{font-size:15px}
.lrlk-v1200-home .lrlk-v1040-tools span{font-size:12px;line-height:1.5}
.lrlk-v1200-home .lrlk-v1040-home-guide{border-radius:16px}
/* Compact live result cards — style isolated from archives and API. */
.lrlk-v1200-compact{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.lrlk-v1200-compact>.lrlk-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important;align-items:stretch;margin:0!important}
.lrlk-v1200-result-card{display:flex;flex-direction:column;min-width:0;min-height:245px;padding:16px 16px 13px;border:1px solid #dfe7f2;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(16,33,61,.045);transition:border-color .18s,box-shadow .18s}
.lrlk-v1200-result-card:hover{border-color:#a9c5ef;box-shadow:0 10px 28px rgba(31,58,104,.09)}
.lrlk-v1200-card-head{display:flex;align-items:center;gap:11px;min-width:0}
.lrlk-v1200-logo{display:flex;flex:0 0 54px;width:54px;height:54px;align-items:center;justify-content:center;border:1px solid #e3e9f2;border-radius:12px;background:#fff;padding:5px}
.lrlk-v1200-logo img{max-width:100%;width:45px;height:45px;object-fit:contain;display:block}
.lrlk-v1200-card-title{min-width:0;flex:1}
.lrlk-v1200-board-name{display:block;color:#6c7a92;font-size:10px;line-height:1.4;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.lrlk-v1200-result-card h3{font-size:clamp(16px,1.6vw,21px)!important;font-weight:850;letter-spacing:-.025em;line-height:1.23;margin:2px 0 0!important;overflow-wrap:anywhere}
.lrlk-v1200-result-card h3 a{color:#14233d;text-decoration:none}
.lrlk-v1200-result-card h3 a:hover{color:#2457cf;text-decoration:underline}
.lrlk-v1200-draw-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid #edf1f7;padding:11px 0 10px;margin-bottom:10px;font-size:11px;font-weight:680;color:#5b6a81;line-height:1.4}
.lrlk-v1200-draw-meta strong{color:#1f3050;font-weight:900}
.lrlk-v1200-winning{min-width:0;flex:1;display:flex;align-items:flex-start;justify-content:flex-start;padding:4px 0 13px}
.lrlk-v1200-winning .lrlk-official-result{width:100%;max-width:100%;min-width:0;margin:0}
.lrlk-v1200-winning .lrlk-nlb-number-row,.lrlk-v1200-winning .lrlk-zodiac-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px}
.lrlk-v1200-winning .lrlk-ball{display:inline-flex;align-items:center;justify-content:center;min-width:34px;width:auto;height:34px;min-height:34px;padding:0 6px;font-size:14px;line-height:1;font-weight:900;margin:0;flex:0 0 auto}
.lrlk-v1200-winning .lrlk-zodiac-pro{font-size:12px;padding:4px 8px;gap:5px}
.lrlk-v1200-winning .lrlk-zodiac-orb{width:27px;height:27px}
.lrlk-v1200-winning .lrlk-zodiac-orb svg{width:23px;height:23px}
.lrlk-v1200-winning .lrlk-zodiac-label{font-size:12px}
.lrlk-v1200-winning .lrlk-group{font-size:13px}
.lrlk-v1200-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf1f7;padding-top:11px;margin-top:auto}
.lrlk-v1200-data-label{display:inline-flex;align-items:center;gap:5px;color:#52627c;font-size:10px;font-weight:750}
.lrlk-v1200-data-label span{color:#23935b;font-size:9px}
.lrlk-v1200-card-footer a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:7px 10px;border-radius:9px;background:#eaf1ff;color:#2051c3;text-decoration:none;font-size:11px;font-weight:850}
.lrlk-v1200-card-footer a:hover{background:#dbe8ff;text-decoration:none}
/* Ayubo: show ALL official groups, not a flattened sequence. */
.lrlk-v1200-result-card.is-ayubo{grid-column:span 2}
.lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-prize-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-prize-group{padding:9px;border-radius:11px;min-width:0}
.lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-group-title{font-size:11px!important;margin-bottom:7px!important;line-height:1.35}
.lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-digit-row{gap:5px}
.lrlk-v1200-result-card.is-ayubo .lrlk-ball{min-width:29px;width:29px;height:29px;min-height:29px;padding:0;font-size:12px}
/* Prize and result pages: targeted fluid typography / overflow protections, no structure changes. */
.lrlk-single-draw-archive .lrlk-official-result,.lrlk-lottery-landing .lrlk-official-result{max-width:100%;min-width:0}
.lrlk-single-draw-archive .lrlk-nlb-number-row,.lrlk-lottery-landing .lrlk-nlb-number-row{flex-wrap:wrap}
.lrlk-v1200-home a:focus-visible,.lrlk-v1200-compact a:focus-visible,.lrlk-v1200-home button:focus-visible{outline:3px solid #2563eb!important;outline-offset:3px!important}
@media(max-width:1100px){
 .lrlk-v1200-quick-search{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lrlk-v1200-search-copy{grid-column:1/-1}
 .lrlk-v1200-quick-search button{grid-column:1/-1;width:100%}
 .lrlk-v1200-compact>.lrlk-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 .lrlk-v1200-home{margin:10px auto 25px!important;padding:0 10px!important}
 .lrlk-v1200-home .lrlk-v1040-home-hero{grid-template-columns:1fr;padding:18px;border-radius:17px;gap:13px}
 .lrlk-v1200-home .lrlk-hero-title{font-size:clamp(28px,8vw,36px)!important;line-height:1.12}
 .lrlk-v1200-home .lrlk-hero-sub{font-size:13px!important;line-height:1.55}
 .lrlk-v1200-home .lrlk-v1040-home-actions{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:7px;margin-top:13px;padding-bottom:4px;scrollbar-width:thin}
 .lrlk-v1200-home .lrlk-v1040-home-actions a{flex:0 0 auto;min-height:38px;font-size:12px;padding:8px 11px}
 .lrlk-v1200-home .lrlk-v1040-home-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .lrlk-v1200-home .lrlk-v1040-home-summary>div{padding:11px;border-radius:10px}
 .lrlk-v1200-home .lrlk-v1040-home-summary>div:first-child{grid-column:1/-1}
 .lrlk-v1200-home .lrlk-v1040-home-summary strong{font-size:13px}
 .lrlk-v1200-quick-search{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;border-radius:14px}
 .lrlk-v1200-search-copy{grid-column:1/-1}
 .lrlk-v1200-quick-search label:nth-of-type(1){grid-column:1/2}
 .lrlk-v1200-quick-search label:nth-of-type(2){grid-column:2/3}
 .lrlk-v1200-quick-search label:nth-of-type(3){grid-column:1/-1}
 .lrlk-v1200-quick-search button{grid-column:1/-1;font-size:13px}
 .lrlk-v1200-home .lrlk-v1040-board-overview{grid-template-columns:1fr}
 .lrlk-v1200-home .lrlk-v1040-home-trust{grid-template-columns:1fr 1fr;gap:7px}
 .lrlk-v1200-home .lrlk-v1040-home-trust>div{padding:10px}
 .lrlk-v1200-home .lrlk-v1040-home-trust>div:last-child{grid-column:1/-1}
 .lrlk-v1200-home .lrlk-v1040-home-trust span{font-size:11px}
 .lrlk-v1200-home .lrlk-v1040-result-head{display:flex!important;align-items:flex-start;flex-direction:column;gap:9px}
 .lrlk-v1200-home .lrlk-v1040-result-head h2{font-size:25px!important}
 .lrlk-v1200-home .lrlk-v1040-result-head p{font-size:12px!important}
 .lrlk-v1200-home .lrlk-v1040-result-meta{width:100%;justify-content:space-between}
 .lrlk-v1200-home .lrlk-v1040-result-meta .lrlk-btn{display:inline-flex!important;min-height:36px}
 .lrlk-v1200-home .lrlk-v1040-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .lrlk-v1200-home .lrlk-v1040-tools>a{padding:13px}
 .lrlk-v1200-home .lrlk-v1040-tools strong{font-size:13px}
 .lrlk-v1200-home .lrlk-v1040-tools span{font-size:11px}
 .lrlk-v1200-compact>.lrlk-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .lrlk-v1041-home-results .lrlk-v1041-home-cards .lrlk-card-grid>.lrlk-v1200-result-card:nth-child(n+5){display:none}
 .lrlk-v1041-home-results.is-expanded .lrlk-v1041-home-cards .lrlk-card-grid>.lrlk-v1200-result-card:nth-child(n+5){display:flex}
 .lrlk-v1200-result-card{padding:13px;min-height:0;border-radius:13px}
 .lrlk-v1200-card-head{gap:9px}
 .lrlk-v1200-logo{flex-basis:43px;width:43px;height:43px;padding:4px;border-radius:10px}
 .lrlk-v1200-logo img{width:36px;height:36px}
 .lrlk-v1200-result-card h3{font-size:16px!important}
 .lrlk-v1200-draw-meta{padding:8px 0;font-size:10px}
 .lrlk-v1200-winning .lrlk-ball{min-width:30px;height:30px;min-height:30px;font-size:12px;padding:0 4px}
 .lrlk-v1200-result-card.is-ayubo{grid-column:span 2}
 .lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-prize-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lrlk-v1200-result-card.is-ayubo .lrlk-ball{min-width:27px;width:27px;height:27px;min-height:27px;font-size:11px}
}
@media(max-width:520px){
 .lrlk-v1200-compact>.lrlk-card-grid{grid-template-columns:1fr!important;gap:10px!important}
 .lrlk-v1200-result-card.is-ayubo{grid-column:auto}
 .lrlk-v1200-result-card{min-height:0;padding:14px}
 .lrlk-v1200-result-card h3{font-size:18px!important}
 .lrlk-v1200-result-card.is-ayubo .lrlk-ayubo-prize-groups{grid-template-columns:1fr}
 .lrlk-v1200-result-card.is-ayubo .lrlk-ball{width:31px;min-width:31px;height:31px;min-height:31px;font-size:13px}
 .lrlk-v1200-home .lrlk-v1040-home-trust{grid-template-columns:1fr}
 .lrlk-v1200-home .lrlk-v1040-home-trust>div:last-child{grid-column:auto}
 .lrlk-v1200-home .lrlk-v1040-home-guide{padding:15px}
}
@media(prefers-reduced-motion:reduce){.lrlk-v1200-result-card{transition:none!important}}
