/* LottoLuma Stage 2 – scoped to lottery studios only (2026.11.19) */
@media screen {
  html body[data-game] main#mainContent > #numberStudio.game-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 16px !important;
    margin: 18px 0 22px !important;
    width: 100% !important;
  }
  html body[data-game] main#mainContent > #numberStudio > aside.left-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    transform: none !important;
    order: 0 !important;
  }
  html body[data-game] main#mainContent > #numberStudio > aside.left-sidebar > .panel {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  html body[data-game] main#mainContent > #numberStudio > aside.left-sidebar > .panel > .panel-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 18px !important;
    row-gap: 12px !important;
    align-content: start !important;
    align-items: start !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 20px 22px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .atlas-pick-box {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-selection-settings {
    grid-column: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  html body[data-game] #numberStudio .panel-inner > .control-box {
    grid-column: 2 !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  html body[data-game] #numberStudio .panel-inner > #lineCapacity {
    grid-column: 2 !important;
    margin: -4px 0 0 !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-fair-chance-note {
    grid-column: 1 / -1 !important;
    margin: 2px 0 0 !important;
    padding: 10px 14px !important;
    max-width: none !important;
  }
  html body[data-game] #numberStudio .panel-inner > #generate {
    grid-column: 1 / -1 !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: 48px !important;
    justify-content: center !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-advanced,
  html body[data-game] #numberStudio .panel-inner > .atlas-more-actions,
  html body[data-game] #numberStudio .panel-inner > .control-caption {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced {
    border: 1px solid rgba(77,148,168,.25) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    background: rgba(100,157,175,.035) !important;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced > summary {
    cursor: pointer;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    border-radius: 12px;
    color: inherit;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced > summary small {
    font-size: 11px;
    display: inline;
    font-weight: 500;
    opacity: .72;
    margin-left: 8px;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced[open] > summary {
    border-bottom: 1px solid rgba(77,148,168,.18);
  }
  html body[data-game] #numberStudio .ll-stage2-advanced-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    align-items: start;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced-content > .atlas-setup-separator {
    display: none !important;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced-content > * {
    min-width: 0;
    margin: 0 !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    overflow: visible !important;
    order: 1 !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .lines-grid {
    min-width: 0 !important;
    max-width: none !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head {
    margin-top: 0 !important;
  }
  html body[data-game] #numberStudio > .ll-stage2-extras {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    width: 100% !important;
    order: 2 !important;
  }
  html body[data-game] #numberStudio > .ll-stage2-extras > .atlas-more-actions,
  html body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html body[data-game] #numberStudio > .ll-stage2-extras > .control-caption {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
  }
  html body[data-game] #numberStudio > .ll-stage2-extras .lo-mini-summary-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: flex-start !important;
    color: inherit !important;
  }
  html[data-theme="light"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide,
  html[data-theme="light"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide summary,
  html[data-theme="light"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide .lo-mini-summary-text {
    color: #15364f !important;
  }
  html[data-theme="light"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide > summary *,
  html[data-theme="light"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide .lo-mini-summary * {
    color: #15364f !important;
  }
  html[data-theme="dark"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide,
  html[data-theme="dark"] body[data-game] #numberStudio > .ll-stage2-extras > details.panel.guide summary {
    color: #e8f3ff !important;
  }
}
@media screen and (max-width: 690px) {
  html body[data-game] main#mainContent > #numberStudio > aside.left-sidebar > .panel > .panel-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 14px !important;
    gap: 12px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-selection-settings,
  html body[data-game] #numberStudio .panel-inner > .control-box,
  html body[data-game] #numberStudio .panel-inner > #lineCapacity,
  html body[data-game] #numberStudio .panel-inner > .atlas-pick-box {
    grid-column: 1 !important;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced-content {
    grid-template-columns: minmax(0, 1fr);
  }
  html body[data-game] #numberStudio > .ll-stage2-extras {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body[data-game] #numberStudio .ll-stage2-advanced > summary small {
    display: block;
    margin: 0;
  }
}

/* === LottoLuma Stage 2.2 premium studio polish (scoped: studio only) === */
@media screen {
  html body[data-game] #numberStudio {
    --lls-ink: #153b55;
    --lls-muted: #52738b;
    --lls-edge: #cbdfea;
    --lls-teal: #18a6a1;
    --lls-blue: #1c6fb0;
    --lls-surface: #fff;
    --lls-surface-soft: #f4f9fc;
    --lls-shadow: 0 16px 38px rgba(15,68,100,.09);
    scroll-margin-top: 98px;
  }
  html[data-theme="dark"] body[data-game] #numberStudio {
    --lls-ink: #e7f4ff;
    --lls-muted: #b6cada;
    --lls-edge: #39576c;
    --lls-teal: #64d7d1;
    --lls-blue: #63b6f4;
    --lls-surface: #162e41;
    --lls-surface-soft: #203d50;
    --lls-shadow: 0 15px 38px rgba(0,0,0,.22);
  }
  html body[data-game] #numberStudio > aside.left-sidebar > .panel,
  html body[data-game] #numberStudio > #predictionWorkspace > .workspace-head {
    border: 1px solid var(--lls-edge) !important;
    border-radius: 21px !important;
    background: var(--lls-surface) !important;
    color: var(--lls-ink) !important;
    box-shadow: var(--lls-shadow) !important;
    overflow: clip;
  }
  html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-header {
    padding: 20px clamp(16px,2.5vw,27px) !important;
    background: linear-gradient(105deg,rgba(26,143,188,.12),rgba(35,184,160,.055) 65%,transparent) !important;
    border-bottom: 1px solid var(--lls-edge) !important;
    border-radius: 20px 20px 0 0 !important;
    min-height: 0 !important;
    color: var(--lls-ink) !important;
  }
  html body[data-game] #numberStudio .panel-header h2,
  html body[data-game] #numberStudio #predictionWorkspace .workspace-head h2 {
    color: var(--lls-ink) !important;
    line-height: 1.22 !important;
    letter-spacing: -.025em;
  }
  html body[data-game] #numberStudio .panel-header .eyebrow,
  html body[data-game] #numberStudio #predictionWorkspace .workspace-head .eyebrow {
    color: var(--lls-blue) !important;
    letter-spacing: .11em;
  }
  html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-inner {
    padding: clamp(15px,2.35vw,26px) !important;
    gap: clamp(12px,1.5vw,19px) !important;
    color: var(--lls-ink) !important;
    background: var(--lls-surface) !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-selection-settings,
  html body[data-game] #numberStudio .panel-inner > .control-box,
  html body[data-game] #numberStudio .panel-inner > .atlas-pick-box {
    background: var(--lls-surface-soft) !important;
    border: 1px solid var(--lls-edge) !important;
    border-radius: 15px !important;
    padding: clamp(13px,1.4vw,18px) !important;
    box-sizing: border-box;
    min-width: 0 !important;
    height: auto !important;
    color: var(--lls-ink) !important;
  }
  html body[data-game] #numberStudio select,
  html body[data-game] #numberStudio input[type="number"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-fair-chance-note {
    background: color-mix(in srgb,var(--lls-surface-soft) 96%,var(--lls-teal)) !important;
    border: 1px solid var(--lls-edge) !important;
    border-left: 4px solid var(--lls-teal) !important;
    border-radius: 12px !important;
    color: var(--lls-ink) !important;
    box-shadow: none !important;
    padding: 12px 16px !important;
    font-size: 12px !important;
    line-height: 1.58 !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-fair-chance-note :is(strong,a) {
    color: var(--lls-ink) !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-advanced {
    background: var(--lls-surface) !important;
    border: 1px solid var(--lls-edge) !important;
    border-radius: 13px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-advanced summary {
    min-height: 43px;
    box-sizing: border-box;
    color: var(--lls-ink) !important;
  }
  html body[data-game] #numberStudio .panel-inner > #generate {
    min-height: 57px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(115deg,#176cae 0%,#207db4 55%,#189c9d 100%) !important;
    box-shadow: 0 8px 19px rgba(20,108,156,.17) !important;
    color: #fff !important;
    font-size: clamp(12px,1vw,14px) !important;
    font-weight: 850 !important;
    letter-spacing: .035em !important;
    transition: transform .18s ease,box-shadow .18s ease !important;
  }
  html body[data-game] #numberStudio .panel-inner > #generate:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(20,108,156,.21) !important;
  }
  html body[data-game] #numberStudio .panel-inner > #generate:focus-visible {
    outline: 3px solid #4fcfc6 !important;
    outline-offset: 3px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace {
    scroll-margin-top: 94px;
    min-width: 0 !important;
    isolation: isolate;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .summary {
    gap: clamp(7px,1.2vw,14px) !important;
    min-width: 0 !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .summary-item {
    background: var(--lls-surface) !important;
    border: 1px solid var(--lls-edge) !important;
    border-radius: 15px !important;
    box-shadow: 0 6px 20px rgba(19,75,112,.045) !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head {
    padding: clamp(16px,2.4vw,26px) !important;
    background: linear-gradient(112deg,rgba(27,131,188,.105),rgba(35,184,160,.035)),var(--lls-surface) !important;
    color: var(--lls-ink) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head > div:first-child {
    flex: 1 1 280px;
    min-width: 0;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .lines-grid,
  html body[data-game] #numberStudio .line-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html body[data-game] #numberStudio .line-card {
    border-radius: 18px !important;
    box-shadow: 0 10px 25px rgba(14,73,108,.075);
  }
  html body[data-game] #numberStudio .line-top {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  html body[data-game] #numberStudio .line-actions {
    flex-wrap: wrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html body[data-game] #numberStudio .ll-ticket-main-balls {
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }
  html body[data-game] #numberStudio .ll-stage2-result-flash .workspace-head {
    animation: ll-stage2-reveal 1.6s ease both;
  }
  @keyframes ll-stage2-reveal {
    0% {box-shadow: 0 0 0 0 rgba(27,169,171,.30),var(--lls-shadow)}
    38% {box-shadow: 0 0 0 5px rgba(27,169,171,.16),var(--lls-shadow)}
    100% {box-shadow: var(--lls-shadow)}
  }
  html body[data-game] #numberStudio :is(.ll-stage2-extras,.ll-stage2-advanced-content) {
    min-width: 0 !important;
  }
}
@media screen and (max-width: 690px) {
  html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-inner {padding: 14px !important;gap: 12px !important;}
  /* The inherited mobile column flex rule misread a 280px basis as minimum height. */
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head {flex-direction:column !important;align-items:stretch !important;min-height:0 !important;}
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head > div:first-child {flex:0 0 auto !important;width:100% !important;min-height:0 !important;height:auto !important;}
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-actions {display:flex !important;width: 100%;}
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-actions .button {flex: 1 1 125px;}
  html body[data-game] #numberStudio .line-card {padding: max(12px,2.8vw) !important;}
}
@media screen and (max-width:690px) {
  /* Narrow fix for the inherited footer image overflow. Preserves logo order and links. */
  html body[data-game] .ll-footer-support-logos > a { min-width:0 !important; max-width:100% !important; }
  html body[data-game] .ll-footer-support-logos img { max-width:100% !important; width:100% !important; height:auto !important; object-fit:contain !important; }
}
@media (prefers-reduced-motion:reduce) {
  html body[data-game] #numberStudio .ll-stage2-result-flash .workspace-head {animation: none !important;}
  html body[data-game] #numberStudio .panel-inner > #generate {transition:none !important;transform:none !important;}
}

/* Stage 2.3: consistent visual balance - lottery studios only */
@media screen {
  html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-inner {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: clamp(12px,1.6vw,18px) !important;
    align-items:stretch !important;
    padding: clamp(14px,2vw,22px) !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-selection-settings {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 100% !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    padding:clamp(16px,2vw,25px) !important;
    gap:10px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-line-group {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:center !important;
    gap:12px !important;
    min-width:0 !important;
    min-height:0 !important;
    box-sizing:border-box !important;
    padding:clamp(16px,2vw,25px) !important;
    border:1px solid var(--lls-edge) !important;
    border-radius:15px !important;
    background:var(--lls-surface-soft) !important;
  }
  html body[data-game] #numberStudio .ll-stage2-line-group > .control-box {
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    width:100% !important;
    min-width:0 !important;
    height:auto !important;
    box-shadow:none !important;
  }
  html body[data-game] #numberStudio .ll-stage2-line-group > #lineCapacity {
    margin:0 !important;
    padding:0 !important;
    font-size:12px !important;
    line-height:1.55 !important;
    min-height:0 !important;
    color:var(--lls-muted) !important;
    background:none !important;
  }
  html body[data-game] #numberStudio .ll-stage2-line-group .stepper {
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }
  html body[data-game] #numberStudio .ll-stage2-line-group #lineCount {
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    background:var(--lls-surface) !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-fair-chance-note {
    margin:0 !important;
    padding:12px 16px !important;
    line-height:1.5 !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-advanced {
    margin:0 !important;
  }
  html body[data-game] #numberStudio .panel-inner > #generate {
    min-height:58px !important;
    font-size:14px !important;
    letter-spacing:.018em !important;
    margin:0 !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .summary {
    margin-bottom:12px !important;
    gap:12px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .summary-item {
    padding:12px 16px !important;
    min-height:62px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head {
    margin:0 0 12px !important;
    min-height:0 !important;
    padding:20px 24px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head > div:first-child {
    flex:1 1 200px !important;
    min-height:0 !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .lines-grid {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    width:100% !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .lines-grid > .line-card {
    scroll-margin-top:100px !important;
    min-width:0 !important;
    width:100% !important;
    box-sizing:border-box !important;
    border:1px solid var(--lls-edge) !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .lines-grid > .line-card.ll-stage2-number-focus {
    box-shadow:0 0 0 4px rgba(15,165,166,.17), 0 18px 36px rgba(19,93,124,.12) !important;
    transition:box-shadow .35s ease !important;
  }
}
@media screen and (max-width:690px) {
  html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-inner {
    grid-template-columns:minmax(0,1fr) !important;
    padding:14px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-selection-settings {
    grid-column:1 !important; grid-row:auto !important; padding:16px !important;
  }
  html body[data-game] #numberStudio .panel-inner > .ll-stage2-line-group {
    grid-column:1 !important; grid-row:auto !important; padding:16px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .summary-item {
    padding:10px 11px !important;
    min-height:58px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head {
    padding:16px !important; margin-bottom:10px !important;
  }
  html body[data-game] #numberStudio > #predictionWorkspace .workspace-head > div:first-child {
    flex:0 0 auto !important; height:auto !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  html body[data-game] #numberStudio .ll-stage2-number-focus {transition:none !important;}
}

/* Stage 2.4: balance two primary controls in the existing grid; no shared-site overrides */
@media screen and (min-width:691px) {
 html body[data-game] #numberStudio > aside.left-sidebar > .panel > .panel-inner > .ll-stage2-line-group {
   align-self:stretch !important;
   height:auto !important;
   min-height:0 !important;
   box-sizing:border-box !important;
 }
}
/* Per-line actions, inserted only after a rendered line card. */
@media screen {
 html body[data-game] #numberStudio #lines > .line-card > .ll-stage2-line-navigation {
   display:flex !important;
   align-items:center !important;
   justify-content:flex-end !important;
   flex-wrap:wrap !important;
   gap:10px !important;
   margin:12px 0 0 !important;
   padding:14px 0 0 !important;
   border-top:1px solid var(--lls-edge,rgba(57,115,156,.16)) !important;
   background:transparent !important;
   min-width:0 !important;
 }
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button {
   -webkit-appearance:none;appearance:none;
   display:inline-flex;align-items:center;justify-content:center;gap:8px;
   min-height:42px;max-width:100%;box-sizing:border-box;
   padding:9px 18px !important;border-radius:12px !important;
   font-size:13px !important;font-weight:800 !important;
   line-height:1.25 !important;letter-spacing:0 !important;
   text-align:center !important;cursor:pointer;
   border:1px solid #aecfdf !important;
   color:var(--text,#17415d) !important;
   background:var(--lls-surface,#fff) !important;
   box-shadow:0 2px 6px rgba(13,67,96,.04) !important;
   transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
 }
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button[data-ll-stage2-action="add"] {
   color:#fff !important;border-color:#155f96 !important;
   background:#17679d !important;
 }
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button:not(:disabled):hover,
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button:not(:disabled):focus-visible {
   border-color:#249eb7 !important;
   box-shadow:0 0 0 3px rgba(31,153,177,.13) !important;
 }
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button:disabled {
   opacity:.5 !important;cursor:not-allowed !important;box-shadow:none !important;
 }
 html body[data-game] #numberStudio #lines > .line-card.ll-stage2-new-line {
   box-shadow:0 0 0 4px rgba(26,164,171,.20),0 15px 35px rgba(19,93,124,.10) !important;
 }
 html body[data-game] #numberStudio #lines > .line-card:focus {outline-offset:3px;}
}
@media screen and (max-width:480px){
 html body[data-game] #numberStudio #lines > .line-card > .ll-stage2-line-navigation {gap:8px !important;}
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button {flex:1 1 125px;min-width:0;padding:10px 12px !important;}
}
@media (prefers-reduced-motion:reduce){
 html body[data-game] #numberStudio #lines > .line-card .ll-stage2-line-nav-button {transition:none !important;}
}
/* LottoLuma Stage 2.5: hide only the duplicate in-page studio navigation on phones.
   The fixed bottom mobile action bar, desktop links, and header are untouched. */
@media screen and (max-width: 767px) {
  html body[data-game] main#mainContent > div.nav-under {
    display: none !important;
  }
}
