/* 批59：各入口共用按键表面；保持控件尺寸、业务色和号码球形状。 */
html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle) {
  border-radius: var(--csh-control-radius, 7px) !important;
  box-shadow: inset 0 2px 1px #ffffff70, inset 0 -3px 2px #0005, 0 3px 0 #0b172d99, 0 5px 8px #0005 !important;
  transition: filter 120ms ease, box-shadow 120ms ease, outline-color 120ms ease !important;
  cursor: pointer;
}
html body :is(.kl8-number-grid .digit-button, .digit-buttons.is-lotto .digit-button, .quick-official-number-grid .digit-button, .desktop-lotto-number, .number-ball, .lottery-ball) {
  --csh-control-radius: 50%;
}
html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle):is([aria-pressed="true"], [aria-selected="true"], .is-selected, .is-active, .active) {
  box-shadow: inset 0 2px 1px #ffffffa0, inset 0 -3px 2px #0005, 0 0 0 1px #ffe39cb3, 0 3px 0 #17232d99, 0 0 9px #ffdb6d66 !important;
}
@media (hover: hover) {
  html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle):not(:disabled):not([aria-disabled="true"]):hover {
    filter: brightness(1.28) saturate(1.13) !important;
    box-shadow: inset 0 2px 1px #ffffffb0, inset 0 -3px 2px #0004, 0 0 0 1px #c9f3ff, 0 4px 0 #0b172d99, 0 6px 12px #0006 !important;
  }
}
html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle):not(:disabled):not([aria-disabled="true"]):active {
  filter: brightness(.93) !important;
  box-shadow: inset 0 3px 6px #0008, inset 0 -1px 0 #ffffff50, 0 1px 2px #0004 !important;
}
html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle):focus-visible {
  outline: 2px solid #ffdc65 !important;
  outline-offset: 2px !important;
}
html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle):is(:disabled, [aria-disabled="true"]) {
  filter: grayscale(.45) brightness(.8) !important;
  box-shadow: inset 0 1px 0 #ffffff25, 0 1px 1px #0004 !important;
  cursor: not-allowed !important;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], a.tool-button, a.button):not(#quickPushNextDragHandle) { transition: none !important; }
}
