/* 28pc.win — isolated presentation release 20261019. */
:root{--lottery-primary:#4a4bd0;--lottery-ink:#20234e;--lottery-light:#f1f2fd;--lottery-accent:#ffbf48}
html:not([data-theme="dark"]) body{background:#f1f2fd !important}
:where(a,button,input,select):focus-visible{outline:3px solid #ffbf48 !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}
.primary-nav a.active{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{color:#fff !important}
.live-board{background:#fff !important;border:1px solid #c5c7f1 !important;border-top:4px solid #5554ce !important;box-shadow:0 12px 30px #25266218 !important}
.draw-main h1{color:#303286 !important}
.draw-equation b{color:#fff !important;border:1px solid #ffffff55 !important;border-radius:8px !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}
.draw-equation b:nth-of-type(2){background:linear-gradient(145deg,#ff7a70,#c92f48) !important}
.draw-equation b:nth-of-type(3){background:linear-gradient(145deg,#27b98c,#087c70) !important}
.draw-equation em{color:#422307 !important;background:linear-gradient(145deg,#ffe38b,#f4b332) !important;border:1px solid #e1a52d !important;border-radius:8px !important;box-shadow:inset 0 2px 1px #fff9,0 3px 0 #c0823022 !important;font-weight:900 !important}
.hero-timing{background:#20234e !important;color:#e5e6ff !important;border-radius:12px !important;padding:16px !important}
.hero-timing strong{color:#ffd477 !important}
.issue-line{background:#eeecff !important;color:#49419a !important;padding:5px 9px !important;border-radius:5px !important}
.result-tags .result-tag{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-width:30px !important;padding:4px 9px !important;border-radius:5px !important;background:#e3edff !important;color:#1745a3 !important;font-weight:750 !important;border:1px solid #c4d6ff !important}
.result-tags .result-tag:nth-child(2){background:#fee7ec !important;color:#a21d48 !important;border-color:#f7c0cf !important}
.result-tags .result-tag:nth-child(3){background:#fff1ca !important;color:#8a4c00 !important;border-color:#efcf83 !important}
.result-tags .result-tag:nth-child(4){background:#eee5ff !important;color:#6c38ae !important;border-color:#dac4ff !important}
.result-tags .result-tag:nth-child(5){background:#d9f5ec !important;color:#08725b !important;border-color:#a5dfcc !important}
.dragon-panel{border-top:4px solid #e49529 !important}
.missing-panel{border-top:4px solid #5359d8 !important}
.today-panel{border-top:4px solid #0d9d88 !important}
.panel-heading svg{color:#5853bd !important}
thead th{background:#333772 !important;color:#fff !important}
.route-band-primary{border-left:4px solid #5a58d8 !important}
.route-band-tools{border-left:4px solid #dd9230 !important}
html[data-theme="dark"] .live-board{background:#1f2440 !important}

/* Contrast and category refinement after public visual review. */
.hero-timing span,.hero-timing small,.hero-timing b,.hero-timing svg{color:#e8e8ff!important}.site-header .brand small{color:#c8c7e8!important}.route-band-primary a:nth-child(2) svg{color:#c17a13!important}.route-band-primary a:nth-child(3) svg{color:#5652cf!important}.route-band-primary a:nth-child(4) svg{color:#07866c!important}

/* Mobile navigation contrast, verified at 390px. */
@media(max-width:800px){.site-header .primary-nav{background:#29254e!important}.site-header .primary-nav a{color:#f3f6ff!important}}
