/* The native ARC cap/rim/socket fitted to a ten-key mobile row. */
body .dw-mechanical.btn.btn-small:has(> .btn-text) {
  --u:1px;--d:4px;--arc-face-h:40px;--arc-shift:8px;
  --line:#1a0d29;--face:#46335d;--hi:#9a76c2;--lo:#2c1d41;--lip:#251633;
  display:inline-grid;place-items:center;position:relative;isolation:isolate;
  padding:0 2px;margin:0 1px 4px;min-height:40px;height:40px;
  border:0;background:transparent;box-shadow:none;transform:none;
  clip-path:none;white-space:nowrap;color:#fbf2ff;touch-action:manipulation;
}
body .dw-mechanical.small.btn.btn-small:has(> .btn-text) {
  --u:2px;--d:5px;--arc-shift:12px;
  padding-inline:10px;margin:0 3px 6px;
}
body .dw-mechanical.key.btn:has(> .btn-text):is(.present,.exact,.absent) {
  border:0;background:transparent;
}
body .dw-mechanical.key.btn.exact {--face:#155e49;--hi:#71d9b1;--lo:#134937;--lip:#102c23;}
body .dw-mechanical.key.btn.present {--face:#735016;--hi:#edb655;--lo:#513810;--lip:#30210b;}
body .dw-mechanical.key.btn.absent {--face:#352d41;--hi:#847693;--lo:#25202e;--lip:#211a2b;}
body .dw-mechanical.key > .btn-text {
  display:block;position:relative;pointer-events:none;font-weight:750;
}
body .dw-mechanical.key.long > .btn-text {font-size:11px}
body .dw-mechanical.key[data-mark]::after {content:"";inset: auto;inset:calc(-1 * var(--u)) calc(-1 * var(--u)) calc(-1 * (var(--u) + var(--d)));font-size:0}
body .dw-mechanical.key[data-mark] > .btn-text::after {
 content:attr(data-mark);font:800 9px/1 system-ui;position:absolute;left:calc(100% + 1px);bottom:-4px;
}
body .dw-mechanical:focus-visible {outline:2px solid var(--accent);outline-offset:1px}
body .dw-mechanical:disabled {opacity:1;cursor:default}
#keys {row-gap:7px} .keyrow {gap:3px}
@media(prefers-reduced-motion:reduce){
 body .dw-mechanical.btn::before,body .dw-mechanical.btn::after,body .dw-mechanical.btn > * {transition:none!important;animation:none!important}
}
body .dw-mechanical.btn::before,body .dw-mechanical.btn::after {
  content:"";position:absolute;z-index:-1;pointer-events:none;
}
body .dw-mechanical.btn::after {z-index:-2}
body .dw-mechanical.key[data-mark] > .btn-text::after {
  left:calc(100% + 1px);right:auto;bottom:-4px
}
