/* Lotto Orbit — Studio layout repair. 20 Oct 2026.
 * This is a shared presentation-only component layer for the 27 game studios.
 * Do not change controls' ids, selection rules, inline scripts or site navigation. */

html[data-theme] body[data-game].vp-site-studio {
  --lo-studio-space: 20px;
  --lo-studio-card: var(--lo-surface, #fff);
  --lo-studio-subtle: var(--lo-quiet, #f1f7f9);
  --lo-studio-border: var(--lo-rule, #d7e5e9);
  --lo-studio-muted: var(--lo-subtext, #526d7c);
}

/* Main proportions: controls must be a usable work surface, not a cramped rail. */
html[data-theme] body[data-game].vp-site-studio main.container #numberStudio.game-layout {
  display:grid !important;
  grid-template-columns:minmax(330px,354px) minmax(0,1fr) !important;
  gap:var(--lo-studio-space) !important;
  align-items:start !important;
  margin-top:0 !important;
  margin-bottom:18px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar {
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
  min-width:0;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > .panel {
  min-width:0;
  border:1px solid var(--lo-studio-border) !important;
  border-radius:18px !important;
  background:var(--lo-studio-card) !important;
  box-shadow:0 8px 24px rgba(25,74,96,.045) !important;
  overflow:hidden;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-header {
  padding:16px 19px !important;
  min-height:69px;
  background:var(--lo-studio-subtle) !important;
  border-bottom:1px solid var(--lo-studio-border) !important;
  align-items:center !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-header .eyebrow {
  font-size:10px !important;
  line-height:1.5 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-header h2 {
  font-size:17px !important;
  line-height:1.3 !important;
  margin:3px 0 0 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-inner {
  padding:20px 18px !important;
  min-width:0;
}
/* Within the large control card, remove the extra nested box frames. */
html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-inner > .control-box {
  min-width:0;
  width:100%;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 0 12px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .control-label {
  display:block;
  margin:0 0 9px !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1.5 !important;
  letter-spacing:0 !important;
  color:var(--lo-ink) !important;
}
/* Number of Lines: one well-proportioned full-width control. */
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper {
  display:grid !important;
  grid-template-columns:48px minmax(0,1fr) 48px !important;
  width:100% !important;
  height:49px !important;
  border-radius:12px !important;
  border:1px solid var(--lo-studio-border) !important;
  background:var(--lo-studio-subtle) !important;
  overflow:hidden !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper button,
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper input {
  height:47px !important;
  width:100% !important;
  min-width:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:0 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper button {
  background:var(--lo-studio-subtle) !important;
  color:var(--lo-azure) !important;
  font-size:22px !important;
  font-weight:600 !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper input {
  background:var(--lo-studio-card) !important;
  text-align:center !important;
  color:var(--lo-ink) !important;
  font-size:17px !important;
  font-weight:800 !important;
  font-variant-numeric:tabular-nums;
  border-left:1px solid var(--lo-studio-border) !important;
  border-right:1px solid var(--lo-studio-border) !important;
  padding:0 4px !important;
  appearance:textfield !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper input::-webkit-inner-spin-button,
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper input::-webkit-outer-spin-button {-webkit-appearance:none;margin:0}
html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper button:hover {
  background:color-mix(in srgb, var(--lo-azure) 10%, var(--lo-studio-subtle)) !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-line-capacity,
html[data-theme] body[data-game].vp-site-studio #numberStudio .control-caption {
  color:var(--lo-studio-muted) !important;
  font-size:11px !important;
  line-height:1.65 !important;
  margin:8px 0 12px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-line-capacity { min-height:0 !important; }
/* Ancillary selectors are presented as calm rows, not a stack of cards. */
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-selection-method {
  margin:0 0 16px !important;
  border:1px solid var(--lo-studio-border) !important;
  border-radius:11px !important;
  overflow:hidden;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-selection-method > summary,
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-odd-even-help > summary {
  min-height:42px !important;
  display:flex !important;
  align-items:center !important;
  padding:10px 13px !important;
  font-size:11.5px !important;
  line-height:1.45 !important;
  font-weight:700 !important;
  background:var(--lo-studio-subtle) !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-selection-method[open] > .control-box {
  padding:13px !important;
  margin:0 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-setup-separator {
  height:1px !important;
  width:100%;
  margin:15px 0 17px !important;
  border:0 !important;
  background:var(--lo-studio-border) !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .quick-buttons {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:9px !important;
  min-width:0;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .quick-buttons button {
  min-width:0;
  min-height:44px !important;
  padding:8px 7px !important;
  border-radius:10px !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
  white-space:normal !important;
  text-align:center;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-odd-even-help {
  margin-top:10px !important;
  border:1px solid var(--lo-studio-border) !important;
  border-radius:10px !important;
  overflow:hidden;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .ultra-odd-even-help[open] .control-caption {
  padding:0 12px 8px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio #generate {
  min-height:48px !important;
  margin:7px 0 16px !important;
  padding:12px 14px !important;
  font-size:11.5px !important;
  border-radius:11px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide {
  border-radius:13px !important;
  border:1px solid var(--lo-studio-border) !important;
  background:var(--lo-studio-card) !important;
  box-shadow:none !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions > summary,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide > summary {
  padding:13px 15px !important;
  min-height:62px !important;
  display:flex !important;
  align-items:center !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions .lo-mini-summary-text strong,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide .lo-mini-summary-text strong {
  font-size:12px !important;
  line-height:1.5 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions .lo-mini-summary-text small,
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide .lo-mini-summary-text small {
  font-size:10.5px !important;
  line-height:1.5 !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions .action-cluster {padding:10px 12px 12px !important;gap:8px !important}
html[data-theme] body[data-game].vp-site-studio #numberStudio .atlas-more-actions .action-cluster .button {
  min-height:39px !important;
  font-size:10.5px !important;
  padding:7px 7px !important;
}
html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar > details.panel.guide {margin-top:0 !important}
/* The workspace should visually align with the controls header and maintain rhythm. */
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace {min-width:0;gap:0 !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  margin:0 0 17px !important;
}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item {
  min-width:0;
  min-height:72px !important;
  padding:13px 17px !important;
  border:1px solid var(--lo-studio-border) !important;
  border-radius:14px !important;
  background:var(--lo-studio-card) !important;
  box-shadow:none !important;
}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item b {font-size:23px !important;line-height:1.14 !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item span {font-size:10px !important;line-height:1.4 !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .workspace-head {
  gap:14px !important;
  margin-bottom:15px !important;
  padding-bottom:15px !important;
  align-items:end !important;
  border-bottom:1px solid var(--lo-studio-border) !important;
}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .workspace-head p {font-size:12px !important;line-height:1.6 !important;margin:5px 0 0 !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .lines-grid {gap:14px !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .line-card {border-radius:18px !important;padding:17px !important;min-width:0}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .line-actions {gap:7px !important;flex-wrap:wrap !important}
html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .line-actions .button {min-height:39px}
/* Restore predictable spacing between generator, print/share, history and result checker. */
html[data-theme] body[data-game].vp-site-studio main.container #historyTools {margin-top:18px !important;margin-bottom:12px !important}
html[data-theme] body[data-game].vp-site-studio main.container #checkTools {margin-top:12px !important;margin-bottom:16px !important}
html[data-theme] body[data-game].vp-site-studio main.container > .atlas-editorial {margin-top:22px !important}

@media(max-width:1100px) {
  html[data-theme] body[data-game].vp-site-studio main.container #numberStudio.game-layout {
    grid-template-columns:minmax(300px,320px) minmax(0,1fr) !important;
    gap:16px !important;
  }
}
@media(max-width:870px) {
  html[data-theme] body[data-game].vp-site-studio main.container #numberStudio.game-layout {
    grid-template-columns:minmax(0,1fr) !important;
    gap:17px !important;
  }
  html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar {
    display:flex !important;
    gap:13px !important;
  }
}
@media(max-width:600px) {
  html[data-theme] body[data-game].vp-site-studio main.container #numberStudio.game-layout {gap:16px !important}
  html[data-theme] body[data-game].vp-site-studio #numberStudio .panel-inner {padding:17px 16px !important}
  html[data-theme] body[data-game].vp-site-studio #numberStudio .stepper {grid-template-columns:48px minmax(0,1fr) 48px !important}
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary {gap:7px !important;margin-bottom:14px !important}
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item {
    min-height:66px !important;padding:10px 9px !important;border-radius:12px !important;
  }
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item b {font-size:18px !important}
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .summary-item span {font-size:9px !important}
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .workspace-head {align-items:start !important}
  html[data-theme] body[data-game].vp-site-studio #predictionWorkspace .line-card {padding:13px !important}
  html[data-theme] body[data-game].vp-site-studio #numberStudio .quick-buttons button {font-size:10.7px !important;min-height:43px !important}
}
@media print {
  html[data-theme] body[data-game].vp-site-studio #numberStudio .left-sidebar {display:none !important}
  html[data-theme] body[data-game].vp-site-studio main.container #numberStudio.game-layout {display:block !important}
}
