/* Your Turn v290 -- scoped history restyling, load after v289 */
#yt287Root{--yt-ink:#163456;--yt-muted:#49617e;--yt-line:#cfdbeb;--yt-white:#fff;background:linear-gradient(160deg,#f1f7ff 0%,#fff 45%,#f7f7ff 100%)!important;color:var(--yt-ink)!important;border:1px solid #d5e3f5!important;border-radius:18px!important;padding:clamp(12px,3vw,20px)!important}
#yt287Root,#yt287Root *{box-sizing:border-box;min-width:0}
#yt287Root h3{color:#102c50!important;font-weight:850!important;font-size:clamp(18px,4vw,23px)!important;letter-spacing:-.025em;margin:2px 0 6px!important}
#yt287Root h4,#yt287Root p,#yt287Root small,#yt287Root label,#yt287Root .yt287-meta,#yt287Root .yt287-ranks,#yt287Root .yt287-legend,#yt287Root .yt287-help,#yt287Root .yt287-empty{color:#2b496b!important;text-shadow:none!important;opacity:1!important}
#yt287Root .yt287-help{font-size:12px!important;line-height:1.65;margin:0 0 12px!important}
/* Four summary tiles: different light hues without sacrificing contrast */
#yt287Root .yt287-summary{gap:8px!important;margin:12px 0 10px!important}
#yt287Root .yt287-summary>div{padding:12px 13px!important;border:1px solid #bcd6f4!important;border-radius:12px!important;background:#e9f3ff!important;box-shadow:none!important}
#yt287Root .yt287-summary>div:nth-child(2){background:#e7f8ef!important;border-color:#b4ddc8!important}
#yt287Root .yt287-summary>div:nth-child(3){background:#f2f4f9!important;border-color:#ccd7e5!important}
#yt287Root .yt287-summary>div:nth-child(4){background:#fff4e2!important;border-color:#efd5a5!important}
#yt287Root .yt287-summary small{color:#35516d!important;font-weight:700!important}
#yt287Root .yt287-summary strong{color:#122f55!important;font-weight:900!important;font-size:clamp(18px,4vw,23px)!important}
#yt287Root .yt287-ranks{padding:8px 10px!important;background:#fff!important;border:1px solid #d9e4f0;border-radius:9px!important;color:#274a6e!important;font-size:12px!important;line-height:1.6}
/* Search is a crisp lilac-blue distinct zone */
#yt287Root .yt287-controls{background:linear-gradient(130deg,#e9edff,#e7f5fc)!important;border:1px solid #cad5f0!important;border-radius:13px!important;padding:11px!important;gap:9px!important}
#yt287Root .yt287-controls label{color:#173a60!important;font-weight:750!important}
#yt287Root .yt287-controls input,#yt287Root .yt287-controls select{color:#132f50!important;background:#fff!important;-webkit-text-fill-color:#132f50!important;border:1px solid #acbfd9!important;opacity:1!important}
#yt287Root #yt287Search{background:#205dad!important;color:white!important;border:1px solid #184d96!important;min-height:39px!important}
/* Bulk delete zone, deliberately shallow: one header and one compact action row */
#yt287Root .yt289-bulk{background:#fff8ec!important;border:1px solid #e9d3af!important;border-left:4px solid #e39b3b!important;border-radius:12px!important;margin:10px 0!important;padding:9px 11px!important;box-shadow:none!important}
#yt287Root .yt289-bulk h4{font-size:14px!important;margin:0 0 2px!important;color:#543714!important}
#yt287Root .yt289-bulk>p{font-size:11px!important;line-height:1.4!important;color:#6c532d!important;margin:0 0 7px!important}
#yt287Root .yt289-bulk-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:7px!important;justify-content:space-between!important}
#yt287Root .yt289-bulk-actions label{display:inline-flex!important;align-items:center!important;gap:5px!important;color:#4b3c2b!important;font-size:12px!important;white-space:normal}
#yt287Root .yt289-bulk-actions input{margin:0!important;width:16px!important;height:16px!important;min-width:16px}
#yt287Root #yt289Preview{display:inline-flex!important;align-items:center;justify-content:center;background:#fff!important;color:#82500c!important;border:1px solid #d9ad6b!important;padding:7px 10px!important;font-size:12px!important;min-height:34px!important;max-width:100%}
#yt287Root #yt289Review{margin-top:5px!important;color:#58370e!important;line-height:1.4!important;font-size:12px!important}
#yt287Root #yt289Review:empty{display:none!important}
#yt287Root #yt289Review p{margin:3px 0!important;font-size:12px!important}
#yt287Root #yt289Review button{display:inline-block!important;padding:7px 10px!important;background:#a52540!important;color:#fff!important;min-height:34px!important}
/* Compact, separated white cards with high legibility */
#yt287Root .yt287-legend{color:#38536d!important;margin:11px 0 7px!important;gap:6px!important}
#yt287Root .yt287-meta{background:#e7f1fd!important;border-radius:8px;padding:6px 9px;margin:5px 0 9px!important}
#yt287Root .yt287-card{background:#fff!important;border:1px solid #c7d7ea!important;border-left:4px solid #719dc9!important;border-radius:13px!important;padding:10px 11px!important;margin:0 0 9px!important;box-shadow:0 4px 12px rgba(22,52,86,.055)!important}
#yt287Root .yt287-card.yt287-win{background:#f3fff8!important;border-left-color:#159468!important;border-color:#b7dec9!important}
#yt287Root .yt287-card.yt287-pending{background:#fffaf0!important;border-left-color:#d69a35!important;border-color:#efdbb6!important}
#yt287Root .yt287-card-head,#yt287Root .yt287-card-head strong,#yt287Root .yt287-card-foot,#yt287Root .yt287-card-foot span{color:#173654!important;opacity:1!important;text-shadow:none!important}
#yt287Root .yt287-card-head strong{font-size:13px!important;overflow-wrap:anywhere}
#yt287Root .yt287-grade{background:#dce7f6!important;color:#213f60!important}
#yt287Root .yt287-win .yt287-grade{background:#117a50!important;color:#fff!important}
/* Six lotto balls ALWAYS on one line: responsive widths, no wrapping */
#yt287Root .yt287-nums{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:clamp(3px,1.5vw,7px)!important;width:100%!important;max-width:100%!important;margin:10px 0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin;color:#173654!important}
#yt287Root .yt287-ball{display:inline-flex!important;flex:0 1 39px!important;flex-shrink:1!important;width:clamp(26px,8vw,39px)!important;min-width:26px!important;max-width:39px!important;height:auto!important;aspect-ratio:1/1!important;padding:0!important;border-radius:50%!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;line-height:1!important;font-size:clamp(12px,3.3vw,15px)!important;font-weight:850!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:#365b8a!important;border:2px solid #54749a!important}
#yt287Root .yt287-ball.yt287-hit{background:#116d4e!important;border-color:#41ce94!important;box-shadow:inset 0 0 0 1px #fff,0 0 0 1px #41c88b!important}
#yt287Root .yt287-ball.yt287-bonus{background:#8c5b18!important;border-color:#e3b65a!important}
#yt287Root .yt287-nums>strong{flex:0 0 auto!important;color:#173654!important;-webkit-text-fill-color:#173654!important;font-weight:900!important;white-space:nowrap!important;font-size:15px!important}
#yt287Root .yt287-pension{display:inline-flex!important;flex:0 0 auto!important;white-space:nowrap!important;gap:2px!important;letter-spacing:1px!important;color:#173654!important;-webkit-text-fill-color:#173654!important;background:#ecf3ff!important;border:1px solid #d2e0f2!important;border-radius:7px!important;padding:4px 6px!important;font-size:clamp(15px,4vw,21px)!important;font-weight:850!important}
#yt287Root .yt287-pension span{color:#173654!important;-webkit-text-fill-color:#173654!important;min-width:0!important}
#yt287Root .yt287-pension span.yt287-digit-hit{background:#13734e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:3px!important}
#yt287Root .yt287-card-foot{gap:6px!important;font-size:12px!important;flex-wrap:wrap!important}
#yt287Root .yt287-card-foot button{margin-left:auto!important;flex:0 0 auto!important;background:#e8eff9!important;color:#214469!important;border:1px solid #bacbe1!important}
#yt287Root #yt287More{background:#e4effd!important;color:#1d4a77!important;border:1px solid #b8cfe9!important}
/* Legacy saved/gift tab labels: ensure sufficient contrast on light cards */
#vaultSavedPane,#vaultGiftPane{color:#183653}
#vaultSavedPane input,#vaultSavedPane select,#vaultGiftPane input,#vaultGiftPane select{color:#193653!important;-webkit-text-fill-color:#193653!important;background:#fff!important}
@media(max-width:390px){#yt287Root{padding:10px!important}#yt287Root .yt287-card{padding:9px!important}#yt287Root .yt287-ball{min-width:25px!important;width:clamp(25px,7.8vw,33px)!important;font-size:12px!important}#yt287Root .yt287-nums{gap:3px!important}#yt287Root .yt289-bulk-actions{align-items:stretch!important}#yt287Root #yt289Preview{width:100%!important}}
