.gd-mouse-connection { display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.gd-mouse-privacy, .gd-mouse .gd-mouse-instruction, .gd-mouse .gd-mouse-device-note { color: var(--console-muted); }
.gd-mouse-privacy, .gd-mouse-device-note { font-size: 12px; }
.gd-mouse .gd-mouse-device-note { margin-top: 10px; }
.gd-mouse-bench:has([data-results]:not([hidden])) .gd-mouse-device-note { display: none; }
.gd-mouse-bench { align-items: start; }
.gd-mouse-bench [data-cancel], .gd-mouse-bench [data-stop] { font-size: 13px; }
.gd-mouse .gd-mouse-prompt:not(:has([data-status]:empty)) { min-height: 46px; }
.gd-mouse .gd-mouse-display { padding: 10px; }
.gd-mouse-monitor-heading { display: flex; justify-content: space-between; align-items: center; gap: 4px 8px; }
.gd-mouse-stage-badge { border: 1px solid #465d79; border-radius: 99px; padding: 0 8px; color: #cddbec; font-size: 12px; }
.gd-mouse-stage-badge[data-active] { color: #ffe694; border-color: #aa9142; }
.gd-mouse-surface {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  position: relative;
  min-height: 136px;
  margin-top: 8px;
  padding: 12px 7px;
  border: 1px solid #4a627e;
  border-radius: 8px;
  background-color: #142338;
  background-image: radial-gradient(#39536f 1px, transparent 1px);
  background-size: 14px 14px;
  color: #f0f5fb;
  text-align: center;
  user-select: none;
}
.gd-mouse-surface[data-state=active] { border-color: var(--console-accent); }
.gd-mouse-surface[data-mode=click][data-state=active] { cursor: pointer; }
.gd-mouse-surface[data-mode=drag][data-state=active] { cursor: grab; }
.gd-mouse-surface[data-holding] { cursor: grabbing; }
.gd-mouse-surface > strong, .gd-mouse-surface > span {
  position: relative;
  padding-inline: 5px;
  border-radius: 3px;
  background: #142338;
  line-height: 1.45;
  pointer-events: none;
}
.gd-mouse-surface > span { color: #c4d3e5; font-size: 12px; }
.gd-mouse-wheel-mark { display: flex; gap: 11px; align-items: center; font-size: 23px; color: #8ba6c5; line-height: 1; }
.gd-mouse-wheel-mark i { width: 22px; height: 35px; border: 1px solid #9bb3cf; border-radius: 11px; background: repeating-linear-gradient(#38536f 0 2px, #192b40 2px 6px); }
.gd-mouse-wheel-mark [data-direction] { color: var(--console-accent); }
.gd-mouse-click-mark { display: flex; gap: 4px; padding: 4px; border: 1px solid #7895b6; border-radius: 6px; }
.gd-mouse-click-mark i { width: 19px; height: 22px; border: 1px solid #7895b6; border-radius: 3px 3px 6px 6px; background: #243b55; }
.gd-mouse-click-mark i[data-selected] { background: #ffda53; border-color: #ffe99e; }
.gd-mouse-drag-marker {
  width: 30px; height: 30px;
  border: 1px dashed #a6c0db;
  border-radius: 50%;
  pointer-events: none;
}
.gd-mouse-surface[data-holding] .gd-mouse-drag-marker {
  position: absolute;
  left: var(--drag-x, 50%); top: var(--drag-y, 50%);
  transform: translate(-50%, -50%);
  border: 2px solid #ffda53;
  background: #ffda5330;
  box-shadow: 0 0 12px #ffda5360;
}
.gd-mouse-readouts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 8px 0 0; }
.gd-mouse-readouts > div { min-width: 0; padding: 4px 3px; text-align: center; background: #172538; border: 1px solid #32465f; border-radius: 5px; }
.gd-mouse-readouts dt { color: #bbcfe5; font-size: 11px; }
.gd-mouse-readouts dd { margin: 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.gd-mouse-trace { display: flex; gap: 3px; min-height: 17px; margin-top: 6px; }
.gd-mouse-trace:empty { display: none; }
.gd-mouse-trace span { flex: 1; min-width: 0; border-radius: 3px; background: #29435e; color: #e2effb; font-size: 11px; font-weight: 700; text-align: center; }
.gd-mouse-trace span[data-flag] { background: #654724; color: #fff0b3; }
.gd-mouse-results .gd-pad-result-heading { align-items: flex-start; }
.gd-mouse-repeat { display: flex; gap: 5px 10px; align-items: end; flex-wrap: wrap; }
.gd-mouse-repeat label { display: block; color: var(--pad-muted); font-size: 12px; font-weight: 700; }
.gd-mouse-repeat select { max-width: 100%; }
.gd-mouse-results .gd-pad-verdict { margin-bottom: 0; }
.gd-mouse-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.gd-mouse-compare > article { padding: 8px 9px; border: 1px solid #dbe5f1; border-radius: 6px; background: #f8fafc; }
.gd-mouse-compare > article:only-child { grid-column: 1 / -1; }
.gd-mouse-compare h3 { margin: 0 0 4px; font-size: 14px; }
.gd-mouse-compare ul { margin: 4px 0 0; padding-left: 1.15em; font-size: 13px; }
.gd-mouse-results .gd-mouse-comparison-note { margin-top: 8px; font-weight: 700; }
.gd-mouse-results .gd-mouse-result-help { margin-top: 8px; font-size: 12px; }
.gd-mouse .gd-mouse-guide-links { margin-top: 8px; }
@media (max-width: 530px) {
  .gd-mouse-repeat { width: 100%; align-items: end; }
  .gd-mouse-repeat > div { min-width: 0; flex: 1 1 130px; }
  .gd-mouse-repeat select { width: 100%; }
}
