/* Lotto Orbit: refined data-tool accordions, all 27 lottery studios.
   Loads last. The panel itself owns the border and rounded corners. */
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) {
  --lo-tool-bg:#fff;
  --lo-tool-muted:#61788c;
  --lo-tool-border:#c9dce9;
  --lo-tool-soft:#f2f8fc;
  --lo-tool-accent:#2176ac;
  --lo-tool-accent-bg:#e7f4fa;
  display:block!important;
  position:relative!important;
  box-sizing:border-box!important;
  margin-top:14px!important;
  padding:0!important;
  border:1px solid var(--lo-tool-border)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:var(--lo-tool-bg)!important;
  background-image:none!important;
  box-shadow:0 8px 22px rgba(30,70,99,.07)!important;
  isolation:isolate;
}
html[data-theme="dark"] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) {
  --lo-tool-bg:#132634;
  --lo-tool-muted:#b3c8d5;
  --lo-tool-border:#436176;
  --lo-tool-soft:#192f40;
  --lo-tool-accent:#65d4bd;
  --lo-tool-accent-bg:#1c4550;
  box-shadow:0 8px 20px rgba(0,0,0,.17)!important;
}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  width:100%!important;
  max-width:none!important;
  min-height:101px!important;
  padding:18px 20px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline-offset:-4px;
  background:var(--lo-tool-bg)!important;
  background-image:none!important;
  color:inherit!important;
  cursor:pointer;
  transition:background-color .18s ease!important;
  list-style:none!important;
}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary::-webkit-details-marker {display:none!important}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary::before,
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary::after {display:none!important;content:none!important;}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary:hover,
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools)[open] > summary.lo-tool-summary {
  background:var(--lo-tool-soft)!important;
}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools)[open] > summary.lo-tool-summary {
  border-bottom:1px solid var(--lo-tool-border)!important;
}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary:focus-visible {
  outline:3px solid var(--lo-tool-accent)!important;outline-offset:-5px!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-icon {
  display:grid!important;
  place-items:center!important;
  flex:0 0 48px!important;
  width:48px!important;
  height:48px!important;
  border-radius:14px!important;
  background:var(--lo-tool-accent-bg)!important;
  color:var(--lo-tool-accent)!important;
  border:1px solid color-mix(in srgb,var(--lo-tool-accent) 20%,transparent)!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-copy {
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-kicker {
  display:block!important;
  color:var(--lo-tool-accent)!important;
  font-weight:850!important;
  font-size:10px!important;
  letter-spacing:.10em!important;
  line-height:1.2!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-title {
  display:block!important;
  color:var(--lo-ink)!important;
  font-weight:850!important;
  font-size:16px!important;
  line-height:1.35!important;
  letter-spacing:-.02em!important;
  max-width:100%!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-description {
  display:block!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.45!important;
  letter-spacing:0!important;
  color:var(--lo-tool-muted)!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle {
  flex:0 0 38px!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border:1px solid var(--lo-tool-border)!important;
  border-radius:12px!important;
  background:var(--lo-tool-soft)!important;
  color:var(--lo-tool-accent)!important;
  font-size:0!important;
  position:relative!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle::before,
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle::after {
  content:""!important;display:block!important;
  position:absolute!important;
  top:50%!important;left:50%!important;
  transform:translate(-50%,-50%)!important;
  width:13px!important;height:2px!important;
  background:currentColor!important;
  border-radius:2px!important;
}
html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle::after {
  transform:translate(-50%,-50%) rotate(90deg)!important;
  transition:opacity .18s ease!important;
}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block[open] > summary .lo-tool-toggle::after {opacity:0!important}
html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > .details-content {
  box-sizing:border-box!important;
  background:var(--lo-tool-bg)!important;
  border:0!important;
  box-shadow:none!important;
}
@media(max-width:600px){
 html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) {border-radius:16px!important;margin-top:12px!important;}
 html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary {gap:11px!important;min-height:102px!important;padding:15px 13px!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-icon {width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-icon svg {width:19px!important;height:19px!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-title {font-size:13.5px!important;line-height:1.3!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-kicker {font-size:9px!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-description {font-size:10.5px!important;line-height:1.45!important;}
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle {height:34px!important;width:34px!important;flex-basis:34px!important;border-radius:10px!important;}
}
@media (prefers-reduced-motion: reduce){
 html[data-theme] body[data-game].vp-site-studio .lo-tool-summary .lo-tool-toggle::after,
 html[data-theme] body[data-game].vp-site-studio details.panel.details-block:is(#historyTools,#checkTools) > summary.lo-tool-summary {transition:none!important;}
}
/* Side-tools: make supporting controls look designed, not nested boxes. */
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide {
  border-radius:15px!important;
  border:1px solid var(--lo-rule)!important;
  background:var(--lo-surface)!important;
  box-shadow:0 4px 12px rgba(25,65,93,.035)!important;
  overflow:hidden!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions {
  padding:0 13px 13px!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide {
  padding:0 15px 15px!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions > summary.lo-mini-summary,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > summary.lo-mini-summary {
  min-height:65px!important;
  padding:11px 0!important;
  align-items:center!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions[open] > summary.lo-mini-summary,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide[open] > summary.lo-mini-summary {
  border-bottom:1px solid var(--lo-rule)!important;
  margin-bottom:12px!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .lo-mini-summary-text {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  flex:1 1 auto!important;
  gap:4px!important;
  min-width:0!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .lo-mini-summary-text strong {
  color:var(--lo-ink)!important;
  font-weight:850!important;
  font-size:12.5px!important;
  line-height:1.3!important;
  letter-spacing:-.01em!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .lo-mini-summary-text small {
  color:var(--lo-subtext)!important;
  font-size:10.5px!important;
  font-weight:500!important;
  line-height:1.3!important;
  letter-spacing:0!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions > summary.lo-mini-summary::after,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > summary.lo-mini-summary::after {
  content:"+"!important;
  display:grid!important;
  place-items:center!important;
  font-weight:700!important;
  font-size:17px!important;
  width:30px!important;height:30px!important;
  flex:0 0 30px!important;
  border-radius:9px!important;
  background:var(--lo-quiet)!important;
  border:1px solid var(--lo-rule)!important;
  color:var(--lo-azure)!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions[open] > summary.lo-mini-summary::after,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide[open] > summary.lo-mini-summary::after {content:"−"!important}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions .action-cluster>.button {
  min-height:45px!important;
  font-size:11px!important;
  font-weight:750!important;
  border-radius:10px!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > h3 {
  font-size:15px!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > p {
  font-size:12px!important;line-height:1.65!important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > a.reference-link {
  font-size:11.5px!important;
}
/* Older summary open-state animation targeted every span; keep only the toggle animated. */
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions > summary.lo-mini-summary span,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar .atlas-more-actions[open] > summary.lo-mini-summary span {
  transform:none!important;
  rotate:none!important;
  transition:none!important;
}
/* Disabled analysis stays legible and visibly inactive; no false affordance. */
html[data-theme] body[data-game].vp-site-studio #importHistory:disabled {
  opacity:1!important;
  cursor:not-allowed!important;
  background:#e8f0f5!important;
  color:#557285!important;
  border:1px solid #cbdce5!important;
  box-shadow:none!important;
}
html[data-theme="dark"] body[data-game].vp-site-studio #importHistory:disabled {
  background:#284251!important;
  color:#b4cfdb!important;
  border-color:#496779!important;
}
