#controls-menu {
  box-sizing: border-box;
  width: min(36rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(.9rem, 3vw, 1.5rem);
  border: 2px solid #345654;
  border-radius: 14px;
  background: #fff8e5;
  color: #213f3e;
}
#controls-menu::backdrop { background: #132c3bcc; }
#controls-menu h2 { margin: 0 0 .75rem; }
.controls-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .55rem;
  padding: .5rem 0;
  border-bottom: 1px solid #d5dbc7;
}
.controls-row kbd {
  padding: .28rem .5rem;
  color: #193b3c;
  background: #e4eadd;
  border-radius: 5px;
  text-align: center;
}
.controls-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .65rem; }
.controls-actions[hidden], #controls-apply[hidden] { display: none; }
#controls-status { margin: .8rem 0 0; min-height: 1.3em; }
#info-text-fields small { font-weight: normal; overflow-wrap: anywhere; }
