.ticket-multiplier-control {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 92px;
  min-height: 32px;
  padding: 2px 5px;
  border: 1px solid #6f8292;
  border-radius: 5px;
  background: #e6edf2;
  color: #17242d;
  font: 700 11px/1 "Microsoft YaHei", sans-serif;
  white-space: nowrap;
}

.ticket-multiplier-control input {
  box-sizing: border-box;
  width: 44px !important;
  min-width: 44px !important;
  height: 25px !important;
  min-height: 25px !important;
  margin: 0 !important;
  padding: 1px 3px !important;
  border: 1px solid #4f6575 !important;
  border-radius: 3px !important;
  background: #111820 !important;
  color: #fff !important;
  font: 700 12px/1 Consolas, monospace !important;
  text-align: center;
}

:is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-multiplier-control {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
}

:is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control {
  grid-column: 4 !important;
  grid-row: 1 !important;
  width: 76px !important;
  min-width: 76px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 1px 4px !important;
  border: 1px solid #aebdca !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, #8194a9 0%, #687d94 100%) !important;
  color: #fff !important;
  font: 900 10px/1 "Microsoft YaHei", sans-serif !important;
  white-space: nowrap !important;
}

:is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control[aria-pressed="true"] {
  border-color: #ffd65d !important;
  background: linear-gradient(180deg, #f0b632 0%, #bf7912 100%) !important;
}

@media (max-width: 760px) {
  .ticket-multiplier-control {
    min-width: 92px;
    flex: 0 0 92px;
    font-size: 10px;
  }

  .ticket-multiplier-control input {
    width: 38px !important;
    min-width: 38px !important;
  }

  :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) {
    grid-template-columns: 72px 72px 88px 72px !important;
    gap: 3px !important;
  }

  :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) > .ticket-multiplier-control {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    padding-inline: 2px !important;
  }

  :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) > .ticket-dlt-additional-control {
    width: 72px !important;
    min-width: 72px !important;
  }
}

/* V170 final precedence: remove the former title-row multiplier reservation. */
html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) {
  grid-template-columns: 82px 104px 76px !important;
  grid-auto-columns: max-content !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control {
  grid-column: 3 !important;
}

@media (max-width: 760px) {
  html body :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) {
    grid-template-columns: 58px 66px 58px !important;
  }
}

html body :is(
  [data-dan-search-action="copy-ticket"],
  [data-digit-omission-action="copy-ticket"],
  [data-n-out-n-action="copy-ticket"],
  [data-lotto-action="copy-ticket"],
  [data-desktop-action="copy-ticket"],
  [data-calc-action="copy-ticket"],
  [data-realtime-command="copy-ticket"],
  [data-workbench-command="omission-copy-ticket"]
) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: inherit;
  border-color: #5f4300 !important;
  background: linear-gradient(180deg, #ffd94f 0%, #c99100 100%) !important;
  color: #271800 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(69,42,0,.38), 0 2px 5px rgba(0,0,0,.34) !important;
}

html body :is(
  [data-dan-search-action="copy-ticket"],
  [data-digit-omission-action="copy-ticket"],
  [data-n-out-n-action="copy-ticket"],
  [data-lotto-action="copy-ticket"],
  [data-desktop-action="copy-ticket"],
  [data-calc-action="copy-ticket"],
  [data-realtime-command="copy-ticket"],
  [data-workbench-command="omission-copy-ticket"]
):is(:hover, :focus-visible) {
  filter: brightness(1.22) saturate(1.08);
}

html body :is(
  .dan-custom-search-actions,
  .lotto-n-out-n-actions,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions,
  .desktop-lotto-editor footer,
  .indicator-omission-controls
) > .ticket-copy-button {
  align-self: stretch !important;
  height: auto !important;
}

html body #indicatorDrawer .dan-custom-search-actions,
html body .desktop-unified-lottery-panel .dan-custom-search-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-flow: column !important;
}

html body .dan-custom-search-actions > .ticket-copy-button {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  align-self: start !important;
}

@media (max-width: 760px) {
  html body [data-mobile-app] .dan-custom-search-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }
}

/* V170: every ticket image action owns the multiplier immediately before it. */
.ticket-local-multiplier {
  width: auto !important;
  min-width: 98px !important;
  max-width: none !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 2px 4px !important;
  align-self: stretch !important;
}

.ticket-local-multiplier input {
  width: 52px !important;
  min-width: 52px !important;
  height: 26px !important;
  min-height: 26px !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) {
  grid-template-columns: 82px 104px 76px !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control {
  grid-column: 3 !important;
}

html body #indicatorDrawer .dan-custom-search-actions,
html body .desktop-unified-lottery-panel .dan-custom-search-actions {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  grid-auto-flow: column !important;
}

html body :is(.lotto-n-out-n-controls, .indicator-omission-controls) > .ticket-local-multiplier,
html body .dan-custom-search-actions > .ticket-local-multiplier {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (min-width: 901px) {
  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    grid-auto-flow: column !important;
  }

  html body .desktop-lotto-compact-editor > footer {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }

  html body .desktop-lotto-compact-editor > footer > :is(button, .ticket-local-multiplier) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 26px !important;
  }
}

html body #indicatorDrawer.is-realtime-number-tool:not([data-desktop-unified-calculator="kl8"]):not([data-desktop-unified-calculator="ssq"]):not([data-desktop-unified-calculator="dlt"]) .indicator-config__actions {
  grid-template-columns: var(--realtime-label-width, 108px) repeat(6, minmax(0, 1fr)) 78px repeat(5, minmax(0, 1fr)) !important;
}

html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy"] { grid-column: 7 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy"] + .ticket-local-multiplier { grid-column: 8 !important; grid-row: 1 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-ticket"] { grid-column: 9 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="chart"] { grid-column: 10 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-image"] { grid-column: 11 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-indicator-command="clear"] { grid-column: 12 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="validation"] { grid-column: 13 !important; }

html body .mobile-lotto-result-actions {
  position: relative !important;
  z-index: 2 !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(34px, auto) !important;
  overflow: visible !important;
  clear: both;
}

html body .mobile-lotto-result-actions > :is(button, .ticket-local-multiplier) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 34px !important;
}

html body .mobile-calc-result-actions {
  flex-wrap: wrap !important;
}

html body .mobile-calc-result-actions > .ticket-local-multiplier {
  flex: 1 1 86px !important;
}

@media (max-width: 760px) {
  .ticket-local-multiplier {
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  html body [data-mobile-app] .dan-custom-search-actions,
  html body :is(.lotto-n-out-n-controls, .indicator-omission-controls) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  html body .mobile-lotto-result-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

html body #indicatorDrawer.is-realtime-number-tool:not([data-desktop-unified-calculator="kl8"]):not([data-desktop-unified-calculator="ssq"]):not([data-desktop-unified-calculator="dlt"]) .indicator-config__actions {
  grid-template-columns: var(--realtime-label-width, 108px) repeat(11, minmax(0, 1fr)) !important;
}

html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="base"] { grid-column: 2 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="invert"] { grid-column: 3 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-indicator-command="exclude"] { grid-column: 4 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-indicator-command="add"] { grid-column: 5 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="calculate"] { grid-column: 6 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy"] { grid-column: 7 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-ticket"] { grid-column: 8 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="chart"] { grid-column: 9 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-image"] { grid-column: 10 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-indicator-command="clear"] { grid-column: 11 !important; }
html body #indicatorDrawer.is-realtime-number-tool [data-realtime-command="validation"] { grid-column: 12 !important; }

html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-ticket"] {
  display: flex !important;
  grid-row: 1 !important;
}

html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool [data-realtime-command="copy-image"] {
  grid-row: 1 !important;
}
.ticket-prize-detail-launcher {
  position: fixed;
  z-index: 17020;
  right: 14px;
  bottom: 62px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #67798b;
  border-radius: 7px;
  background: #263547;
  color: #fff;
  font: 800 11px/1 "Microsoft YaHei", sans-serif;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

.ticket-prize-detail-dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: min(78vh, 720px);
  padding: 0;
  border: 1px solid #66788b;
  border-radius: 9px;
  background: #151d28;
  color: #eef3f8;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

.ticket-prize-detail-dialog::backdrop { background: rgba(5, 9, 15, .68); }
.ticket-prize-detail-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #46576a; background: #233144; }
.ticket-prize-detail-dialog header strong { color: #ffdf2b; }
.ticket-prize-detail-dialog header button { min-height: 30px; border: 1px solid #f0858c; border-radius: 5px; background: #b52e3a; color: #fff; font-weight: 800; }
.ticket-prize-detail-dialog pre { max-height: calc(78vh - 52px); margin: 0; padding: 13px; overflow: auto; color: #e6edf5; font: 12px/1.65 Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-copy-switcher-button.ticket-copy-button {
  min-width: 92px;
  border: 2px solid #7a0018 !important;
  background: linear-gradient(135deg, #fff200 0%, #ffb300 48%, #ff4d00 100%) !important;
  color: #650012 !important;
  font-weight: 900 !important;
  letter-spacing: .08em;
  white-space: nowrap;
  box-shadow: 0 0 0 2px #fff6a3, 0 4px 13px rgba(180, 24, 0, .62) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
}

.ticket-copy-switcher-button.ticket-copy-button:hover,
.ticket-copy-switcher-button.ticket-copy-button:focus-visible {
  background: linear-gradient(135deg, #fff86b 0%, #ffc400 42%, #ff2700 100%) !important;
  box-shadow: 0 0 0 3px #fff, 0 0 18px rgba(255, 58, 0, .9) !important;
  transform: translateY(-1px) scale(1.03);
}

.ticket-copy-switcher-button.ticket-copy-button:disabled {
  filter: grayscale(.65);
  opacity: .58;
  box-shadow: none !important;
}

.ticket-copy-numbers-button {
  border-color: #506b82 !important;
  background: #6f879b !important;
  color: #fff !important;
}

.ticket-copy-button {
  border-color: #7a0018 !important;
  background: #ffb300 !important;
  color: #650012 !important;
  font-weight: 900 !important;
}

.ticket-chart-button {
  border-color: #2167a8 !important;
  background: #347fbe !important;
  color: #fff !important;
}

.ticket-promotion-image-button {
  border-color: #a85b16 !important;
  background: #d97921 !important;
  color: #fff !important;
}

.ticket-copy-source-relocated { display: inline-flex !important; }

html body .ticket-copy-switcher-button.ticket-copy-button {
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #7a0018 !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) {
  display: grid !important;
  grid-template-columns: 82px 104px 112px 150px 76px !important;
  grid-auto-flow: column !important;
  grid-auto-columns: max-content !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 6px !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-multiplier-control {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-copy-switcher-button.ticket-copy-button {
  grid-column: 4 !important;
  grid-row: 1 !important;
  box-sizing: border-box !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding-inline: 12px !important;
  font: 900 18px/1 "Microsoft YaHei", sans-serif !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control {
  grid-column: 5 !important;
  grid-row: 1 !important;
}

@media (max-width: 760px) {
  html body :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) {
    grid-template-columns: 58px 66px 78px minmax(96px, 1fr) 58px !important;
    gap: 3px !important;
  }

  html body :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) > .ticket-multiplier-control {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
  }

  html body :is(
    [data-mobile-analysis-switcher],
    [data-official-analysis-switcher]
  ) > .ticket-copy-switcher-button.ticket-copy-button {
    width: 100% !important;
    min-width: 96px !important;
    max-width: none !important;
    height: 36px !important;
    min-height: 36px !important;
    padding-inline: 4px !important;
    font-size: 15px !important;
    letter-spacing: .02em !important;
  }
}

/* V170 must remain last: local multiplier and ticket button are separate adjacent cells. */
html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) {
  grid-template-columns: 82px 104px 76px !important;
}

html body :is(
  [data-desktop-analysis-switcher],
  [data-official-analysis-switcher],
  [data-mobile-analysis-switcher]
) > .ticket-dlt-additional-control {
  grid-column: 3 !important;
}

html body #indicatorDrawer.is-realtime-number-tool:not([data-desktop-unified-calculator="kl8"]):not([data-desktop-unified-calculator="ssq"]):not([data-desktop-unified-calculator="dlt"]) .indicator-config__actions {
  box-sizing: border-box !important;
  grid-template-columns: minmax(42px, .65fr) minmax(42px, .65fr) minmax(56px, .8fr) minmax(56px, .8fr) minmax(72px, 1fr) minmax(72px, 1fr) 112px minmax(72px, 1fr) minmax(58px, .82fr) minmax(72px, 1fr) minmax(44px, .65fr) !important;
  grid-auto-flow: column !important;
  padding-left: 106px !important;
}

html body #indicatorDrawer.is-realtime-number-tool .indicator-config__actions > .realtime-command-label {
  display: none !important;
}

html body #indicatorDrawer.is-realtime-number-tool .indicator-config__actions > :is(button, .ticket-local-multiplier) {
  grid-column: auto !important;
  grid-row: 1 !important;
}

html body #indicatorDrawer.is-realtime-number-tool .indicator-config__actions > .ticket-local-multiplier {
  gap: 4px !important;
  padding-inline: 5px !important;
  overflow: visible !important;
}

html body #indicatorDrawer.is-realtime-number-tool .indicator-config__actions > .ticket-local-multiplier > :is(span, b) {
  flex: 0 0 auto;
}

html body #indicatorDrawer.is-realtime-number-tool .indicator-config__actions > :is(button, .ticket-local-multiplier),
html body :is(.dan-custom-search-actions, .lotto-n-out-n-controls, .indicator-omission-controls) > :is(button, .ticket-local-multiplier) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 34px !important;
  height: 34px !important;
  align-self: center !important;
}

html body :is(.indicator-omission-controls, .historical-omission-controls--digit) > :is(button, .ticket-local-multiplier) {
  min-height: 32px !important;
  height: 32px !important;
}

html body :is(.indicator-omission-controls, .historical-omission-controls--digit) > .ticket-local-multiplier input {
  min-height: 24px !important;
  height: 24px !important;
}

html body .historical-omission-controls--digit > .ticket-local-multiplier {
  position: relative !important;
  top: 2px !important;
}

html body #indicatorDrawer .dan-custom-search-actions,
html body .desktop-unified-lottery-panel .dan-custom-search-actions {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

@media (min-width: 901px) {
  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .ticket-local-multiplier input {
    width: 42px !important;
    min-width: 42px !important;
  }

  html body :is([data-mobile-analysis-switcher], [data-official-analysis-switcher]) {
    grid-template-columns: 58px 66px 58px !important;
  }
}

/* V172 final precedence: KL8 footer fills two complete rows without intrinsic overflow. */
@media (min-width: 1101px) {
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"]
  .desktop-lotto-compact-editor > footer {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 34px) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    column-gap: 3px !important;
    row-gap: 4px !important;
  }

  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="calculate"] { grid-column: 10 / span 3 !important; grid-row: 1 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > .ticket-local-multiplier { grid-column: 1 / span 5 !important; grid-row: 1 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > .ticket-local-multiplier { gap: 2px !important; padding-inline: 2px !important; font-size: 10px !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > .ticket-local-multiplier input { width: 34px !important; min-width: 34px !important; padding-inline: 1px !important; font-size: 11px !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="copy-ticket"] { grid-column: 6 / span 4 !important; grid-row: 1 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="copy-image"] { grid-column: 1 / span 3 !important; grid-row: 2 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="copy"] { grid-column: 4 / span 3 !important; grid-row: 2 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="chart"] { grid-column: 7 / span 3 !important; grid-row: 2 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > [data-desktop-action="clear-all"] { grid-column: 10 / span 3 !important; grid-row: 2 !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > :is(button, .ticket-local-multiplier) { box-sizing: border-box !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: 26px !important; min-height: 26px !important; max-height: 26px !important; align-self: center !important; contain: inline-size !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > button { overflow: hidden !important; padding-inline: 1px !important; font-size: 10px !important; text-overflow: clip !important; white-space: nowrap !important; }
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > .ticket-local-multiplier > :is(span, b) { flex: 0 0 auto !important; min-width: 0 !important; }
}

/* V173: SSQ blue and DLT back zones own the complete worker action rows. */
@media (min-width: 901px) {
  html body .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] [data-desktop-zone="blue"] .desktop-lotto-counts {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  html body .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] [data-desktop-zone="back"] .desktop-lotto-counts {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: 34px !important;
    gap: 3px !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .desktop-lotto-result-summary {
    display: none !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="calculate"] {
    grid-column: 1 / span 3 !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier {
    grid-column: 4 / span 5 !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="copy-ticket"] {
    grid-column: 9 / span 4 !important;
  }
}

/* All lottery workbench commands retain a raised, hover-lit and pressed surface. */
html body :is(
  #indicatorDrawer,
  #desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) button:not(:disabled) {
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -2px 0 rgba(24, 39, 50, .28), 0 2px 4px rgba(16, 28, 37, .26) !important;
  transition: filter 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 80ms ease !important;
}

html body :is(
  #indicatorDrawer,
  #desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) button:not(:disabled):hover,
html body :is(
  #indicatorDrawer,
  #desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) button:not(:disabled):focus-visible {
  filter: brightness(1.18) saturate(1.08);
  border-color: #e5edf1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .52), inset 0 -2px 0 rgba(24, 39, 50, .24), 0 3px 7px rgba(10, 22, 31, .36) !important;
}

html body :is(
  #indicatorDrawer,
  #desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) button:not(:disabled):active {
  transform: translateY(1px);
  filter: brightness(.96) saturate(1.12);
  box-shadow: inset 0 2px 4px rgba(13, 26, 35, .38), 0 1px 1px rgba(255, 255, 255, .16) !important;
}

html body :is(
  #indicatorDrawer,
  #desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) button:is(.is-selected, .is-active, [aria-pressed="true"], [aria-selected="true"]) {
  filter: brightness(1.08) saturate(1.12);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .48), inset 0 -2px 0 rgba(20, 33, 43, .25), 0 0 0 1px rgba(220, 234, 241, .46), 0 3px 6px rgba(11, 24, 33, .3) !important;
}

/* Four-digit multipliers remain legible on a low-glare blue-grey field. */
html body .ticket-local-multiplier {
  border: 1px solid #84949e !important;
  border-radius: 5px !important;
  background: #c4cdd2 !important;
  color: #233743 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 2px 4px rgba(20, 34, 43, .2) !important;
}

html body .ticket-local-multiplier input {
  box-sizing: border-box !important;
  width: 54px !important;
  min-width: 54px !important;
  padding: 0 4px !important;
  border: 1px solid #617481 !important;
  border-radius: 4px !important;
  background: #344453 !important;
  color: #f7f2dc !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 24px !important;
  text-align: center !important;
  box-shadow: inset 0 2px 4px rgba(12, 23, 31, .36), 0 1px 0 rgba(255, 255, 255, .3) !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

html body .ticket-local-multiplier input::-webkit-inner-spin-button,
html body .ticket-local-multiplier input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

@media (min-width: 1101px) {
  html body #desktopUnifiedLotteryCalculator[data-desktop-unified-calculator="kl8"] .desktop-lotto-compact-editor > footer > .ticket-local-multiplier input {
    width: 48px !important;
    min-width: 48px !important;
  }
}

/* V174: official calculator footer uses a stable 1:1.5:1.5 split in narrow panels. */
@media (min-width: 901px) {
  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    overflow: hidden !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="calculate"] {
    flex: 2 1 0 !important;
    font-size: 10px !important;
    padding-inline: 2px !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier {
    flex: 4 1 0 !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="copy-ticket"] {
    flex: 1 1 0 !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > :is(button, .ticket-local-multiplier) {
    box-sizing: border-box !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0 !important;
    align-self: center !important;
    overflow: hidden !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier {
    justify-content: center !important;
    gap: 2px !important;
    padding-inline: 2px !important;
    contain: inline-size !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier > :is(span, b) {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    font-size: 10px !important;
  }

  html body :is(
    .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"],
    .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier > input {
    flex: 1 1 54px !important;
    width: 54px !important;
    min-width: 42px !important;
    max-width: 60px !important;
  }
}

/* V174: every official maximum-omission control shares one baseline and height. */
@media (min-width: 901px) {
  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls {
    align-items: center !important;
    grid-auto-rows: 34px !important;
  }

  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls > :is(
    label,
    button,
    .ticket-local-multiplier
  ) {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    top: auto !important;
    align-self: center !important;
  }

  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls > label > :is(input, select),
  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls > .ticket-local-multiplier > input {
    box-sizing: border-box !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin-block: 0 !important;
    align-self: center !important;
  }

  html body #indicatorDrawer.is-official-lottery-workspace .lotto-n-out-n-controls > button {
    padding-block: 0 !important;
    line-height: 32px !important;
  }
}

/* Compact tablet footer; desktop games share the two-row workbench footer. */
@media (min-width: 901px) and (max-width: 1100px) {
  html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool.is-calculator-workbench
  #desktopUnifiedLotteryCalculator:is(
    [data-desktop-unified-calculator="ssq"],
    [data-desktop-unified-calculator="dlt"]
  ) .desktop-lotto-compact-editor:is(
    [data-desktop-compact-editor="ssq"],
    [data-desktop-compact-editor="dlt"]
  ) > footer,
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] > footer,
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] > footer {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 3px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    overflow: hidden !important;
  }

  html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool.is-calculator-workbench
  #desktopUnifiedLotteryCalculator:is(
    [data-desktop-unified-calculator="ssq"],
    [data-desktop-unified-calculator="dlt"]
  ) .desktop-lotto-compact-editor:is(
    [data-desktop-compact-editor="ssq"],
    [data-desktop-compact-editor="dlt"]
  ) > footer > :is(button, .ticket-local-multiplier),
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] > footer > :is(button, .ticket-local-multiplier),
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] > footer > :is(button, .ticket-local-multiplier) {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    box-sizing: border-box !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0 !important;
  }

  html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool.is-calculator-workbench
  #desktopUnifiedLotteryCalculator:is(
    [data-desktop-unified-calculator="ssq"],
    [data-desktop-unified-calculator="dlt"]
  ) .desktop-lotto-compact-editor:is(
    [data-desktop-compact-editor="ssq"],
    [data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="calculate"],
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] > footer > [data-desktop-action="calculate"],
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] > footer > [data-desktop-action="calculate"] {
    flex: 2 1 0 !important;
  }

  html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool.is-calculator-workbench
  #desktopUnifiedLotteryCalculator:is(
    [data-desktop-unified-calculator="ssq"],
    [data-desktop-unified-calculator="dlt"]
  ) .desktop-lotto-compact-editor:is(
    [data-desktop-compact-editor="ssq"],
    [data-desktop-compact-editor="dlt"]
  ) > footer > .ticket-local-multiplier,
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] > footer > .ticket-local-multiplier,
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] > footer > .ticket-local-multiplier {
    flex: 4 1 0 !important;
    justify-content: center !important;
    gap: 2px !important;
    padding-inline: 2px !important;
    overflow: hidden !important;
  }

  html body #indicatorDrawer#indicatorDrawer.is-realtime-number-tool.is-calculator-workbench
  #desktopUnifiedLotteryCalculator:is(
    [data-desktop-unified-calculator="ssq"],
    [data-desktop-unified-calculator="dlt"]
  ) .desktop-lotto-compact-editor:is(
    [data-desktop-compact-editor="ssq"],
    [data-desktop-compact-editor="dlt"]
  ) > footer > [data-desktop-action="copy-ticket"],
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="ssq"] > footer > [data-desktop-action="copy-ticket"],
  html body #desktopUnifiedLotteryCalculator
  .desktop-lotto-compact-editor[data-desktop-compact-editor="dlt"] > footer > [data-desktop-action="copy-ticket"] {
    flex: 1 1 0 !important;
  }
}

/* V175 final precedence: compact local multipliers inside their existing cells. */
html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions
) > .ticket-local-multiplier {
  justify-content: center !important;
  gap: 2px !important;
  padding-inline: 2px !important;
  overflow: hidden !important;
}

html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions
) > .ticket-local-multiplier > :is(span, b) {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #1f333f !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions
) > .ticket-local-multiplier > input {
  flex: 0 1 54px !important;
  width: 54px !important;
  min-width: 46px !important;
  max-width: 58px !important;
  margin: 0 !important;
}

/* V175 final precedence: disabled commands remain clear, raised and non-clickable. */
html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .lotto-n-out-n-actions,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .indicator-result-actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions,
  .mobile-calc-draft-actions
) > button:disabled:disabled {
  opacity: 1 !important;
  cursor: not-allowed !important;
  border-color: #718392 !important;
  background: linear-gradient(180deg, #8294a5 0%, #5e7183 100%) !important;
  color: #f1f5f7 !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .3) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -2px 0 rgba(23, 37, 49, .34), 0 2px 4px rgba(16, 28, 37, .25) !important;
  filter: none !important;
}

html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .lotto-n-out-n-actions,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .indicator-result-actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions,
  .mobile-calc-draft-actions
) > button:not(:disabled) {
  opacity: 1 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), inset 0 -2px 0 rgba(24, 39, 50, .3), 0 2px 4px rgba(16, 28, 37, .27) !important;
}

html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) :is(
  .lotto-n-out-n-controls,
  .lotto-n-out-n-actions,
  .dan-custom-search-actions,
  .indicator-omission-controls,
  .historical-omission-controls--digit,
  .indicator-config__actions,
  .indicator-result-actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-lotto-result-actions,
  .mobile-calc-result-actions,
  .mobile-calc-draft-actions
) > button.ticket-copy-button:disabled {
  opacity: 1 !important;
  border-color: #9b521b !important;
  background: linear-gradient(180deg, #e58b35 0%, #c96c1d 100%) !important;
  color: #fff8ed !important;
  text-shadow: 0 1px 0 rgba(92, 42, 8, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(91, 42, 9, .34), 0 2px 4px rgba(0, 0, 0, .25) !important;
}

/* V177: orange identifies ticket-copy only; promotional image copy is ordinary blue-grey. */
html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) .ticket-copy-button {
  border-color: #9b521b !important;
  background: linear-gradient(180deg, #e58b35 0%, #c96c1d 100%) !important;
  color: #fff8ed !important;
  text-shadow: 0 1px 0 rgba(92, 42, 8, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(91, 42, 9, .34), 0 2px 4px rgba(0, 0, 0, .25) !important;
}

html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) .ticket-promotion-image-button {
  border-color: #61768a !important;
  background: linear-gradient(180deg, #8499ad 0%, #657b90 100%) !important;
  color: #f7fafc !important;
  text-shadow: 0 1px 0 rgba(23, 39, 51, .58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -2px 0 rgba(24, 39, 50, .3), 0 2px 4px rgba(16, 28, 37, .27) !important;
}

/* V177: operation labels use the largest safe responsive size for their button cells. */
html body :is(
  #indicatorDrawer#indicatorDrawer,
  #desktopUnifiedLotteryCalculator#desktopUnifiedLotteryCalculator,
  .desktop-unified-lottery-panel,
  [data-mobile-app]
) :is(
  .indicator-config__actions,
  .historical-omission-controls--digit,
  .indicator-omission-controls,
  .dan-custom-search-actions,
  .lotto-n-out-n-controls,
  .lotto-n-out-n-actions,
  .indicator-result-actions,
  .indicator-workbench__header-actions,
  .set-calculator-condition-panel__actions,
  .desktop-lotto-counts,
  .desktop-lotto-zone-actions,
  .desktop-lotto-compact-editor > footer,
  .mobile-calc-result-actions,
  .mobile-calc-draft-actions,
  .mobile-lotto-result-actions
) > button {
  min-width: 0 !important;
  padding-inline: 3px !important;
  overflow: hidden !important;
  color: #f7fafc;
  font-family: "Microsoft YaHei", sans-serif !important;
  font-size: clamp(11px, .78vw, 13px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  html body [data-mobile-app] :is(
    .dan-custom-search-actions,
    .lotto-n-out-n-controls,
    .lotto-n-out-n-actions,
    .mobile-calc-result-actions,
    .mobile-calc-draft-actions,
    .mobile-lotto-result-actions
  ) > button {
    padding-inline: 2px !important;
    font-size: 11px !important;
  }
}
