/* jnd28.date — isolated presentation release 20261019. */
:root{--lottery-primary:#146e77;--lottery-ink:#153b46;--lottery-light:#f1f6f3;--lottery-accent:#eeb475}
html:not([data-theme="dark"]) body{background:#f1f6f3 !important}
:where(a,button,input,select):focus-visible{outline:3px solid #eeb475 !important;outline-offset:3px !important}
@media(prefers-reduced-motion:no-preference){a,button{transition:background-color .16s,color .16s,box-shadow .16s}button:active{transform:translateY(1px)}}
html[data-theme="dark"] body{background:#101827 !important}
.site-header{background:var(--lottery-ink) !important;border-bottom:3px solid var(--lottery-accent) !important}
.site-header a{color:#e9f0ff !important}
.site-header a:hover{background:#ffffff18 !important;color:#fff !important}
.nav a[aria-current="page"]{color:#fff !important;background:var(--lottery-primary) !important;box-shadow:inset 0 -3px var(--lottery-accent) !important}
.site-header a svg{color:var(--lottery-accent) !important}
.brand,.brand small,.brand-tag{color:#e2f4f1 !important}
.nav-group>span{color:#a4d5d6 !important}
.result{background:#153b46 !important;color:#fff !important;border-top:4px solid #eeb475 !important;border-radius:10px !important}
.balls span{color:#fff !important;border:1px solid #ffffff55 !important;border-radius:50% !important;background:linear-gradient(145deg,#388dff,#1741b0) !important;box-shadow:inset 0 2px 1px #ffffff55,0 3px 0 #142d7022 !important;font-weight:850 !important;font-variant-numeric:tabular-nums !important}
.balls span:nth-of-type(2){background:linear-gradient(145deg,#ff7a70,#c92f48) !important}
.balls span:nth-of-type(3){background:linear-gradient(145deg,#27b98c,#087c70) !important}
.balls strong{color:#422307 !important;background:linear-gradient(145deg,#ffe38b,#f4b332) !important;border:1px solid #e1a52d !important;border-radius:50% !important;box-shadow:inset 0 2px 1px #fff9,0 3px 0 #c0823022 !important;font-weight:900 !important}
.result-top,.result-bottom,.draw-time{color:#c8e7e7 !important}
.countdown b{color:#ffd08b !important}
.ledger-record{border-left:3px solid #2e8c93 !important;background:#fff !important}
.ledger-record:nth-child(even){background:#e8f4f2 !important;border-left-color:#ce8e42 !important}
.ledger-numbers span{color:#fff !important;border:1px solid #ffffff55 !important;border-radius:6px !important;background:linear-gradient(145deg,#388dff,#1741b0) !important;box-shadow:inset 0 2px 1px #ffffff55,0 3px 0 #142d7022 !important;font-weight:850 !important;font-variant-numeric:tabular-nums !important}
.ledger-numbers span:nth-of-type(2){background:linear-gradient(145deg,#ff7a70,#c92f48) !important}
.ledger-numbers span:nth-of-type(3){background:linear-gradient(145deg,#27b98c,#087c70) !important}
.ledger-numbers strong{color:#422307 !important;background:linear-gradient(145deg,#ffe38b,#f4b332) !important;border:1px solid #e1a52d !important;border-radius:6px !important;box-shadow:inset 0 2px 1px #fff9,0 3px 0 #c0823022 !important;font-weight:900 !important}
.ledger-numbers span{min-width:30px !important;min-height:32px !important;display:inline-grid !important;place-items:center !important;border-bottom:0 !important}
.ledger-numbers strong{padding:4px 8px !important}
.ledger-time time{color:#176571 !important;font-weight:800 !important}
.ledger-tags{color:#9f5621 !important;font-weight:800 !important}
.ledger-tags small{color:#70549b !important}
.section-head h2,.timeline-head h2,.panel h2{border-left:4px solid var(--lottery-primary) !important;padding-left:10px !important}
thead th{background:#235561 !important;color:#fff !important}
html[data-theme="dark"] .ledger-record{background:#183039 !important;color:#e5f3f3 !important}
html[data-theme="dark"] .ledger-record:nth-child(even){background:#1f3c42 !important}

/* Contrast and category refinement after public visual review. */
html[data-site="shixu"] body .result .balls span{color:#fff!important;background:linear-gradient(145deg,#388dff,#1741b0)!important;border:1px solid #ffffff66!important;box-shadow:inset 0 2px 1px #ffffff66,0 3px 0 #10294433!important;border-radius:50%!important}html[data-site="shixu"] body .result .balls span:nth-of-type(2){background:linear-gradient(145deg,#ff7a70,#c92f48)!important}html[data-site="shixu"] body .result .balls span:nth-of-type(3){background:linear-gradient(145deg,#27b98c,#087c70)!important}html[data-site="shixu"] body .result .balls strong{color:#422307!important;background:linear-gradient(145deg,#ffe38b,#f4b332)!important;border:1px solid #e0af50!important;border-radius:50%!important}html[data-site="shixu"] body .result .live-status,html[data-site="shixu"] body .result .refresh,html[data-site="shixu"] body .result .countdown{color:#cceee9!important}html[data-site="shixu"] body .result [data-labels] span{color:#1b5f65!important;background:#e2f1ef!important}html[data-site="shixu"] body .result [data-labels] span:nth-child(2){color:#9e2952!important;background:#ffe0ea!important}html[data-site="shixu"] body .result [data-labels] span:nth-child(3){color:#6b379b!important;background:#eee0ff!important}html[data-site="shixu"] body .site-header .theme-toggle{background:#e7f4f2!important;color:#235561!important}

/* Keep two-digit sums centered inside the compact live ball. */
html[data-site="shixu"] body .result .balls strong{font-size:26px!important;min-width:44px!important;width:44px!important;flex:0 0 44px!important;line-height:1!important;display:inline-grid!important;place-items:center!important;letter-spacing:0!important}
