/* V129: official-lottery selection illuminates the complete ball, never a halo. */
html body :is([data-lottery-calculator="ssq"], [data-desktop-compact-editor="ssq"])
:is([data-lotto-zone="red"], [data-desktop-zone="red"])
:is(.mobile-lotto-ball, .desktop-lotto-number):not([aria-pressed="true"]):not(.is-selected),
html body :is([data-lottery-calculator="dlt"], [data-desktop-compact-editor="dlt"])
:is([data-lotto-zone="front"], [data-desktop-zone="front"])
:is(.mobile-lotto-ball, .desktop-lotto-number):not([aria-pressed="true"]):not(.is-selected) {
  border-color: #c98994 !important;
  background: #bd6d7a !important;
  color: #fff7f8 !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(43,20,26,.18) !important;
  filter: none !important;
}

html body :is([data-lottery-calculator="ssq"], [data-desktop-compact-editor="ssq"])
:is([data-lotto-zone="blue"], [data-desktop-zone="blue"])
:is(.mobile-lotto-ball, .desktop-lotto-number):not([aria-pressed="true"]):not(.is-selected),
html body :is([data-lottery-calculator="dlt"], [data-desktop-compact-editor="dlt"])
:is([data-lotto-zone="back"], [data-desktop-zone="back"])
:is(.mobile-lotto-ball, .desktop-lotto-number):not([aria-pressed="true"]):not(.is-selected) {
  border-color: #83b3d7 !important;
  background: #5f91b9 !important;
  color: #f7fcff !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(17,34,48,.18) !important;
  filter: none !important;
}

html body :is([data-lottery-calculator="ssq"], [data-desktop-compact-editor="ssq"])
:is([data-lotto-zone="red"], [data-desktop-zone="red"])
:is(.mobile-lotto-ball, .desktop-lotto-number):is([aria-pressed="true"], .is-selected),
html body :is([data-lottery-calculator="dlt"], [data-desktop-compact-editor="dlt"])
:is([data-lotto-zone="front"], [data-desktop-zone="front"])
:is(.mobile-lotto-ball, .desktop-lotto-number):is([aria-pressed="true"], .is-selected) {
  border-color: #ff9daa !important;
  background: linear-gradient(180deg, #ff6679 0%, #e3223d 100%) !important;
  background-color: #ed334b !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.46), inset 0 -2px 0 rgba(128,5,26,.25), 0 2px 6px rgba(105,8,25,.48) !important;
  filter: brightness(1.08) saturate(1.18) !important;
}

html body :is([data-lottery-calculator="ssq"], [data-desktop-compact-editor="ssq"])
:is([data-lotto-zone="blue"], [data-desktop-zone="blue"])
:is(.mobile-lotto-ball, .desktop-lotto-number):is([aria-pressed="true"], .is-selected),
html body :is([data-lottery-calculator="dlt"], [data-desktop-compact-editor="dlt"])
:is([data-lotto-zone="back"], [data-desktop-zone="back"])
:is(.mobile-lotto-ball, .desktop-lotto-number):is([aria-pressed="true"], .is-selected) {
  border-color: #9fddff !important;
  background: linear-gradient(180deg, #58c8ff 0%, #168fd9 100%) !important;
  background-color: #249fe5 !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.46), inset 0 -2px 0 rgba(4,70,119,.28), 0 2px 6px rgba(4,64,108,.48) !important;
  filter: brightness(1.08) saturate(1.18) !important;
}

html body :is([data-lottery-calculator="ssq"], [data-lottery-calculator="dlt"])
.mobile-lotto-ball.is-dan[aria-pressed="true"] {
  border-color: #ffe39b !important;
  background: linear-gradient(180deg, #ffe17c 0%, #e9a91c 100%) !important;
  color: #4d3500 !important;
}

html body :is([data-lottery-calculator="ssq"], [data-lottery-calculator="dlt"])
.mobile-lotto-ball.is-kill[aria-pressed="true"] {
  border-color: #c3ced5 !important;
  background: linear-gradient(180deg, #9caab2 0%, #69777f 100%) !important;
  color: #ffffff !important;
}

/* Final cascade: override zone identity, temperature and command-flash rules. */
html body #indicatorDrawer#indicatorDrawer[data-desktop-unified-calculator="ssq"]
[data-desktop-zone="red"] .desktop-lotto-number:is([aria-pressed="true"], .is-selected),
html body #indicatorDrawer#indicatorDrawer[data-desktop-unified-calculator="dlt"]
[data-desktop-zone="front"] .desktop-lotto-number:is([aria-pressed="true"], .is-selected),
html body #screen-calculator-ssq#screen-calculator-ssq
[data-lotto-zone="red"] .mobile-lotto-ball[aria-pressed="true"],
html body #screen-calculator-dlt#screen-calculator-dlt
[data-lotto-zone="front"] .mobile-lotto-ball[aria-pressed="true"] {
  border-color: #ff9daa !important;
  background: linear-gradient(180deg, #ff6679 0%, #e3223d 100%) !important;
  background-color: #ed334b !important;
  color: #ffffff !important;
  outline: 0 none transparent !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.46), inset 0 -2px 0 rgba(128,5,26,.25), 0 2px 6px rgba(105,8,25,.48) !important;
  filter: brightness(1.08) saturate(1.18) !important;
}

html body #indicatorDrawer#indicatorDrawer[data-desktop-unified-calculator="ssq"]
[data-desktop-zone="blue"] .desktop-lotto-number:is([aria-pressed="true"], .is-selected),
html body #indicatorDrawer#indicatorDrawer[data-desktop-unified-calculator="dlt"]
[data-desktop-zone="back"] .desktop-lotto-number:is([aria-pressed="true"], .is-selected),
html body #screen-calculator-ssq#screen-calculator-ssq
[data-lotto-zone="blue"] .mobile-lotto-ball[aria-pressed="true"],
html body #screen-calculator-dlt#screen-calculator-dlt
[data-lotto-zone="back"] .mobile-lotto-ball[aria-pressed="true"] {
  border-color: #9fddff !important;
  background: linear-gradient(180deg, #58c8ff 0%, #168fd9 100%) !important;
  background-color: #249fe5 !important;
  color: #ffffff !important;
  outline: 0 none transparent !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.46), inset 0 -2px 0 rgba(4,70,119,.28), 0 2px 6px rgba(4,64,108,.48) !important;
  filter: brightness(1.08) saturate(1.18) !important;
}

html body #screen-calculator-ssq#screen-calculator-ssq .mobile-lotto-ball.is-dan[aria-pressed="true"],
html body #screen-calculator-dlt#screen-calculator-dlt .mobile-lotto-ball.is-dan[aria-pressed="true"] {
  border-color: #ffe39b !important;
  background: linear-gradient(180deg, #ffe17c 0%, #e9a91c 100%) !important;
  color: #4d3500 !important;
}

html body #screen-calculator-ssq#screen-calculator-ssq .mobile-lotto-ball.is-kill[aria-pressed="true"],
html body #screen-calculator-dlt#screen-calculator-dlt .mobile-lotto-ball.is-kill[aria-pressed="true"] {
  border-color: #c3ced5 !important;
  background: linear-gradient(180deg, #9caab2 0%, #69777f 100%) !important;
  color: #ffffff !important;
}
