/* LottoLuma 3.1 — component-specific styling, screen only. */
@media screen {
/* Theme-aware premium header surfaces, coordinated foreground and background. */
html[data-theme] body[data-game] {
 --ll31-head:linear-gradient(115deg,#e7f3f8 0%,#f4f9fc 60%,#fdfefe 100%);
 --ll31-ink:#15374d;--ll31-caption:#426276;--ll31-accent:#12668e;
 --ll31-border:#c4dce9;--ll31-chip:#edf6fa;--ll31-surface:#fff;
 --ll31-shadow:0 3px 12px rgba(20,65,95,.05);
}
html[data-theme="dark"] body[data-game] {
 --ll31-head:linear-gradient(115deg,#203b4c,#1c3040 72%,#1c2d3b);
 --ll31-ink:#edf6fc;--ll31-caption:#bfd1df;--ll31-accent:#83d3ed;
 --ll31-border:#38566a;--ll31-chip:#233e50;--ll31-surface:#182b39;
 --ll31-shadow:0 3px 12px rgba(0,0,0,.15);
}
html[data-theme] body[data-game] #numberStudio#numberStudio .panel-header,
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary.lo-tool-summary {
 background:var(--ll31-head)!important;color:var(--ll31-ink)!important;
 border:1px solid var(--ll31-border)!important;box-shadow:var(--ll31-shadow)!important;
 border-left:4px solid var(--ll31-accent)!important;opacity:1!important;isolation:isolate;
}
html[data-theme] body[data-game] #numberStudio#numberStudio .panel-header {border-radius:17px 17px 0 0!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head {border-radius:17px!important;padding:18px 20px!important;gap:14px!important;}
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary.lo-tool-summary {border-radius:17px!important;padding:16px 19px!important;gap:14px!important;}
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools)[open] > summary.lo-tool-summary {border-radius:17px 17px 0 0!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .panel-header :is(h2,h3),
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head :is(h2,h3),
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary .lo-tool-title {color:var(--ll31-ink)!important;opacity:1!important;text-shadow:none!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .panel-header .eyebrow,
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head .eyebrow,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary .lo-tool-kicker,
html[data-theme] body[data-game] #numberStudio#numberStudio .panel-header > span {color:var(--ll31-accent)!important;opacity:1!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head p,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary .lo-tool-description {color:var(--ll31-caption)!important;opacity:1!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head #lineCounter {color:var(--ll31-ink)!important;background:var(--ll31-chip)!important;border-color:var(--ll31-border)!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head .workspace-actions .button {background:var(--ll31-chip)!important;color:var(--ll31-ink)!important;border:1px solid var(--ll31-border)!important;box-shadow:none!important;min-height:38px!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head .workspace-actions .button:hover:not(:disabled) {background:var(--ll31-surface)!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head .workspace-actions .button:disabled {opacity:.65!important;}
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary :is(.lo-tool-icon,.lo-tool-toggle) {background:var(--ll31-chip)!important;color:var(--ll31-accent)!important;border-color:var(--ll31-border)!important;}
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary .lo-tool-toggle::before,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary .lo-tool-toggle::after {color:var(--ll31-accent)!important;}
/* Stage 2 moved these accordions outside the old sidebar selector. Keep them
   accessible wherever the live layout places them. Only the indicator changes. */
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) {
 box-sizing:border-box!important;min-width:0!important;align-self:start!important;
 border:1px solid var(--ll31-border)!important;border-radius:16px!important;
 background:var(--ll31-surface)!important;padding:0!important;overflow:hidden!important;
 box-shadow:var(--ll31-shadow)!important;margin-top:0!important;
}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary {
 box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;min-height:66px!important;padding:14px 18px!important;margin:0!important;
 background:var(--ll31-head)!important;color:var(--ll31-ink)!important;
 list-style:none!important;cursor:pointer!important;border:0!important;border-radius:15px!important;
 text-align:left!important;transform:none!important;rotate:none!important;box-shadow:none!important;
}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide)[open] > summary.lo-mini-summary {border-radius:15px 15px 0 0!important;border-bottom:1px solid var(--ll31-border)!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary::-webkit-details-marker {display:none!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary::marker {content:""!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary::before {content:none!important;display:none!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary .lo-mini-summary-text {
 display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important;
 transform:none!important;rotate:none!important;transition:none!important;
}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary .lo-mini-summary-text strong {color:var(--ll31-ink)!important;font-size:14px!important;font-weight:800!important;line-height:1.4!important;letter-spacing:0!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary .lo-mini-summary-text small {color:var(--ll31-caption)!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:0!important;}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary::after {
 content:"+"!important;display:grid!important;place-items:center!important;position:static!important;
 width:30px!important;height:30px!important;flex:0 0 30px!important;margin:0!important;
 background:var(--ll31-chip)!important;color:var(--ll31-accent)!important;border:1px solid var(--ll31-border)!important;
 border-radius:9px!important;font:700 18px/1 system-ui!important;transform:none!important;rotate:none!important;
}
html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide)[open] > summary.lo-mini-summary::after {content:"−"!important;}
html[data-theme] body[data-game].vp-site-studio details.atlas-more-actions.atlas-more-actions > .action-cluster {padding:14px 16px 16px!important;gap:9px!important;margin:0!important;}
html[data-theme] body[data-game].vp-site-studio details.panel.guide.guide > :not(summary) {margin-inline:18px!important;}
html[data-theme] body[data-game].vp-site-studio details.panel.guide.guide > .eyebrow {margin-top:16px!important;}
html[data-theme] body[data-game].vp-site-studio details.panel.guide.guide > :last-child {margin-bottom:18px!important;}
@media(max-width:767px){
 html[data-theme] body[data-game].vp-site-studio :is(details.atlas-more-actions.atlas-more-actions,details.panel.guide.guide) > summary.lo-mini-summary {padding:12px 14px!important;min-height:60px!important;}
 html[data-theme] body[data-game].vp-site-studio details.panel.guide.guide > :not(summary) {margin-inline:14px!important;}
}
/* Clip only the joined panel backgrounds, not controls or focus rings. */
html[data-theme] body[data-game] #numberStudio#numberStudio .left-sidebar > .panel,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools).panel {border-radius:18px!important;background-clip:padding-box!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .left-sidebar > .panel > .panel-inner,
html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > .details-content {border-radius:0 0 17px 17px!important;background-clip:padding-box!important;}
/* Match control boxes only when they really sit alongside one another. */
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-paired-card {box-sizing:border-box!important;min-width:0!important;align-self:stretch!important;margin-block:0!important;border-radius:15px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-content:start!important;padding:clamp(15px,1.7vw,24px)!important;gap:0!important;border:1px solid var(--lo-studio-border,#c5dce9)!important;background:var(--lo-studio-subtle,#f1f7fa)!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-paired-card > :is(h3,.ll30-count-title) {margin:0 0 22px!important;font-size:15px!important;line-height:1.4!important;font-weight:800!important;color:var(--lo-ink,#15394e)!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-paired-card .control-box:has(#lineCount) {margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:block!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio :is(label[for="selectionMode"],label[for="lineCount"]) {display:block!important;line-height:18px!important;height:auto!important;min-height:18px!important;margin:0 0 10px!important;font-size:12px!important;font-weight:800!important;color:var(--lo-ink,#15394e)!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio :is(#selectionMode,.ll30-stepper) {box-sizing:border-box!important;height:48px!important;min-height:48px!important;width:100%!important;border-radius:11px!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-stepper {display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-stepper > :is(button,input) {height:46px!important;min-height:0!important;box-sizing:border-box!important;}
html[data-theme] body[data-game] #numberStudio#numberStudio .ll30-paired-card :is(#selectionFormatStatus,#lineCapacity) {margin:12px 0 0!important;font-size:12px!important;line-height:1.55!important;}
/* Premium compact metric cards; the values stay in their original live nodes. */
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item {position:relative!important;min-width:0!important;border:1px solid var(--lo-studio-border,#ccdfec)!important;border-radius:13px!important;min-height:82px!important;padding:14px 16px 13px!important;box-shadow:0 4px 12px #123d5710!important;background:var(--lo-studio-card,#fff)!important;overflow:hidden!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item:before {content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:4px!important;background:linear-gradient(#2285b8,#18a39c)!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item b {font-size:clamp(21px,2vw,27px)!important;font-weight:850!important;line-height:1.12!important;font-variant-numeric:tabular-nums!important;color:var(--lo-ink,#173b52)!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item span {font-size:10px!important;letter-spacing:.045em!important;font-weight:750!important;line-height:1.4!important;color:var(--lo-subtext,#486777)!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .line-card .line-action-button {border-radius:9px!important;min-height:38px!important;font-weight:750!important;}
html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .line-card .line-action-button:focus-visible {outline:2px solid #168bb8!important;outline-offset:2px!important;}
/* Hide exactly the redundant in-workspace control, including on desktop. */
html body[data-game] #predictionWorkspace#predictionWorkspace .ll30-inline-top:not(#ll-floating-to-top),
html body[data-game] #numberStudio#numberStudio .ll30-inline-top:not(#ll-floating-to-top) {display:none!important;}
@media(max-width:767px){
  html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .workspace-head {padding:15px!important;align-items:start!important;}
  html[data-theme] body[data-game] :is(#historyTools#historyTools,#checkTools#checkTools) > summary.lo-tool-summary {padding:13px!important;gap:10px!important;}
  html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary {gap:7px!important;}
  html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item {padding:11px 9px 10px 12px!important;min-height:70px!important;}
  html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item b {font-size:20px!important;}
  html[data-theme] body[data-game] #predictionWorkspace#predictionWorkspace .summary-item span {font-size:9px!important;letter-spacing:0!important;}
  html body[data-game] #lines#lines .ll30-generated-duplicate {display:none!important;}
  html body[data-game] #lines#lines .ll30-generated-detail :is(.ll-ticket-stat-icon,strong) {display:none!important;}
  html body[data-game] #lines#lines .ll30-generated-detail {min-height:0!important;}
}
}
html body[data-game] #numberStudio .ll30-count-title[hidden] {display:none!important;}
